#668E2A#668E2A

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

Color values

HEX#668E2A
RGBrgb(102, 142, 42)
HSLhsl(84, 54%, 36%)
HSVhsv(84, 70%, 56%)
CMYKcmyk(28.2%, 0%, 70.4%, 44.3%)
CIE-LABlab(54.38, -29.79, 46.62)
CIE-LCHlch(54.38, 55.32, 122.58°)
OKLaboklab(59.67% -0.0848 0.1055)
OKLCHoklch(59.67% 0.135 128.8)
XYZxyz(15.5704, 22.3376, 5.6813)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E2A #522A8E
analogous
#8E842A #668E2A #348E2A
triadic
#668E2A #2A668E #8E2A66
tetradic
#668E2A #2A8E84 #522A8E #8E2A34
square
#668E2A #2A8E84 #522A8E #8E2A34
split-complementary
#668E2A #2A348E #842A8E
monochromatic
#22300E #445F1C #668E2A #88BD38 #A4D162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E2A#FFFFFF#000000##000000
##668E2A1.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)
#95841B
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e2a;
/* rgb */ color: rgb(102, 142, 42);
/* oklch */ color: oklch(59.7% 0.135 128.8);
Tailwind
colors: {
  custom: {
    50: '#95af6a',
    500: '#668e2a',
    950: '#000000',
  },
}
SCSS
$custom: #668e2a;
$custom-light: #95af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#668e2a",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 84,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.13529,
    "h": 128.8
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#668E2A
secondary
#815DB6
accent
#4ADE85
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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