#668D40#668D40

#668D40 is a mid, moderate yellow-green. Relative luminance 0.222; OKLCH L 59.7% C 0.115 H 131.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#668D40
RGBrgb(102, 141, 64)
HSLhsl(90, 38%, 40%)
HSVhsv(90, 55%, 55%)
CMYKcmyk(27.7%, 0%, 54.6%, 44.7%)
CIE-LABlab(54.29, -27.28, 36.37)
CIE-LCHlch(54.29, 45.46, 126.88°)
OKLaboklab(59.65% -0.0759 0.0862)
OKLCHoklch(59.65% 0.115 131.4)
XYZxyz(15.9296, 22.2443, 8.3038)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D40 #67408D
analogous
#8C8D40 #668D40 #408D41
triadic
#668D40 #40668D #8D4066
tetradic
#668D40 #408C8D #67408D #8D4140
square
#668D40 #408C8D #67408D #8D4140
split-complementary
#668D40 #41408D #8D408C
monochromatic
#29391A #48632D #668D40 #85B357 #A3C681

Accessibility & contrast

On white

3.85
#668D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#668D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D40
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D40#FFFFFF#000000##000000
##668D401.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938439
Deuteranopia (green-blind)
#8D8145
Tritanopia (blue-blind)
#68887C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d40;
/* rgb */ color: rgb(102, 141, 64);
/* oklch */ color: oklch(59.7% 0.115 131.4);
Tailwind
colors: {
  custom: {
    50: '#94ae77',
    500: '#668d40',
    950: '#000000',
  },
}
SCSS
$custom: #668d40;
$custom-light: #94ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#668d40",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 90.39,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.11488,
    "h": 131.4
  },
  "luminance": 0.22245
}

Semantic roles & 50–950 ramp

primary
#668D40
secondary
#9578B0
accent
#5ACE95
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #668D40

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

Preview Lab → · Contrast checker → · Palette generator →

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