#6CAA21

A color in the Green family

#6caa21 is a color in the Green family: RGB(108, 170, 33), HSL(87°, 67%, 40%), CMYK(36%, 0%, 81%, 33%). Closest named color: mediumseagreen. Contrast is 2.83:1 on white and 7.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#6caa21
RGBrgb(108 170 33)
RGB (legacy)rgb(108, 170, 33)
RGB %rgb(42% 67% 13%)
HSLhsl(87 67% 40%)
HSV / HSBhsv(87, 81%, 67%)
HWBhwb(87 13% 33%)
CMYKcmyk(36%, 0%, 81%, 33%)
CIELAB (D50)lab(63.55 -36.25 57.57)
LCHlch(63.55 68.03 122.19)
OKLaboklab(0.6707 -0.1154 0.1291)
OKLCHoklch(0.6707 0.1731 131.8)
Decimal7121441

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 7.1
Closest web-safe color#669933
Hue87°
Saturation (HSL / HSV)67% / 81%
Lightness (HSL)40%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)53% / 58%
Relative luminance (WCAG)0.3205
Red / Green / Blue108 / 170 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.83:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.41:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 54.1 / -47.7 · As background with white / black text: Lc -59.4 / 49.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #6caa21;
  --color-brand-oklch: oklch(67.07% 0.1731 131.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(108 170 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#6caa21] text-[#6caa21] border-[#6caa21]">