#668E2E#668E2E

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

Color values

HEX#668E2E
RGBrgb(102, 142, 46)
HSLhsl(85, 51%, 37%)
HSVhsv(85, 68%, 56%)
CMYKcmyk(28.2%, 0%, 67.6%, 44.3%)
CIE-LABlab(54.41, -29.49, 44.97)
CIE-LCHlch(54.41, 53.78, 123.25°)
OKLaboklab(59.7% -0.0836 0.1026)
OKLCHoklch(59.7% 0.132 129.2)
XYZxyz(15.6456, 22.3676, 6.0773)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E2E #562E8E
analogous
#8E862E #668E2E #368E2E
triadic
#668E2E #2E668E #8E2E66
tetradic
#668E2E #2E8E86 #562E8E #8E2E36
square
#668E2E #2E8E86 #562E8E #8E2E36
split-complementary
#668E2E #2E368E #862E8E
monochromatic
#243210 #45601F #668E2E #87BC3D #A4CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E2E#FFFFFF#000000##000000
##668E2E1.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)
#958421
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e2e;
/* rgb */ color: rgb(102, 142, 46);
/* oklch */ color: oklch(59.7% 0.132 129.2);
Tailwind
colors: {
  custom: {
    50: '#95af6c',
    500: '#668e2e',
    950: '#000000',
  },
}
SCSS
$custom: #668e2e;
$custom-light: #95af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#668e2e",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 85,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.597,
    "c": 0.13231,
    "h": 129.2
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#668E2E
secondary
#8563B5
accent
#4DDB88
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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