#668E2B#668E2B

#668E2B is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.135 H 128.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#668E2B
RGBrgb(102, 142, 43)
HSLhsl(84, 54%, 36%)
HSVhsv(84, 70%, 56%)
CMYKcmyk(28.2%, 0%, 69.7%, 44.3%)
CIE-LABlab(54.39, -29.72, 46.21)
CIE-LCHlch(54.39, 54.94, 122.75°)
OKLaboklab(59.67% -0.0845 0.1048)
OKLCHoklch(59.67% 0.135 128.9)
XYZxyz(15.5885, 22.3448, 5.7767)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E2B #532B8E
analogous
#8E852B #668E2B #358E2B
triadic
#668E2B #2B668E #8E2B66
tetradic
#668E2B #2B8E85 #532B8E #8E2B35
square
#668E2B #2B8E85 #532B8E #8E2B35
split-complementary
#668E2B #2B358E #852B8E
monochromatic
#23300F #445F1D #668E2B #88BD39 #A4D063

Accessibility & contrast

On white

3.84
#668E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#668E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E2B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E2B#FFFFFF#000000##000000
##668E2B1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841C
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e2b;
/* rgb */ color: rgb(102, 142, 43);
/* oklch */ color: oklch(59.7% 0.135 128.9);
Tailwind
colors: {
  custom: {
    50: '#95af6a',
    500: '#668e2b',
    950: '#000000',
  },
}
SCSS
$custom: #668e2b;
$custom-light: #95af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#668e2b",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 84.242,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59673,
    "c": 0.13457,
    "h": 128.9
  },
  "luminance": 0.22345
}

Semantic roles & 50–950 ramp

primary
#668E2B
secondary
#825FB6
accent
#4BDD86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668E2B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#668E2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva