#668E40#668E40

#668E40 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 59.9% C 0.116 H 131.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#668E40
RGBrgb(102, 142, 64)
HSLhsl(91, 38%, 40%)
HSVhsv(91, 55%, 56%)
CMYKcmyk(28.2%, 0%, 54.9%, 44.3%)
CIE-LABlab(54.60, -27.77, 36.73)
CIE-LCHlch(54.60, 46.05, 127.09°)
OKLaboklab(59.9% -0.0773 0.087)
OKLCHoklch(59.9% 0.116 131.6)
XYZxyz(16.0777, 22.5405, 8.3532)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E40 #68408E
analogous
#8D8E40 #668E40 #408E41
triadic
#668E40 #40668E #8E4066
tetradic
#668E40 #408D8E #68408E #8E4140
square
#668E40 #408D8E #68408E #8E4140
split-complementary
#668E40 #41408E #8E408D
monochromatic
#293A1A #48642D #668E40 #84B458 #A3C782

Accessibility & contrast

On white

3.81
#668E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#668E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E40
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E40#FFFFFF#000000##000000
##668E401.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948539
Deuteranopia (green-blind)
#8E8245
Tritanopia (blue-blind)
#67897C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668e40;
/* rgb */ color: rgb(102, 142, 64);
/* oklch */ color: oklch(59.9% 0.116 131.6);
Tailwind
colors: {
  custom: {
    50: '#94af77',
    500: '#668e40',
    950: '#000000',
  },
}
SCSS
$custom: #668e40;
$custom-light: #94af77;
$custom-dark: #000000;
JSON
{
  "hex": "#668e40",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 90.769,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.11638,
    "h": 131.6
  },
  "luminance": 0.22541
}

Semantic roles & 50–950 ramp

primary
#668E40
secondary
#9679B1
accent
#5ACE95
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #668E40

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

Preview Lab → · Contrast checker → · Palette generator →

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