#668F40#668F40

#668F40 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.2% C 0.118 H 131.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#668F40
RGBrgb(102, 143, 64)
HSLhsl(91, 38%, 41%)
HSVhsv(91, 55%, 56%)
CMYKcmyk(28.7%, 0%, 55.2%, 43.9%)
CIE-LABlab(54.91, -28.25, 37.10)
CIE-LCHlch(54.91, 46.64, 127.29°)
OKLaboklab(60.16% -0.0786 0.0878)
OKLCHoklch(60.16% 0.118 131.8)
XYZxyz(16.2271, 22.8394, 8.4030)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F40 #69408F
analogous
#8D8F40 #668F40 #408F41
triadic
#668F40 #40668F #8F4066
tetradic
#668F40 #408D8F #69408F #8F4140
square
#668F40 #408D8F #69408F #8F4140
split-complementary
#668F40 #41408F #8F408D
monochromatic
#2A3A1A #48652D #668F40 #84B458 #A3C782

Accessibility & contrast

On white

3.77
#668F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#668F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F40
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F40#FFFFFF#000000##000000
##668F401.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958538
Deuteranopia (green-blind)
#8F8245
Tritanopia (blue-blind)
#678A7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f40;
/* rgb */ color: rgb(102, 143, 64);
/* oklch */ color: oklch(60.2% 0.118 131.8);
Tailwind
colors: {
  custom: {
    50: '#94b077',
    500: '#668f40',
    950: '#000000',
  },
}
SCSS
$custom: #668f40;
$custom-light: #94b077;
$custom-dark: #000000;
JSON
{
  "hex": "#668f40",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 91.139,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.11786,
    "h": 131.8
  },
  "luminance": 0.2284
}

Semantic roles & 50–950 ramp

primary
#668F40
secondary
#9679B2
accent
#5ACE96
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #668F40

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

Preview Lab → · Contrast checker → · Palette generator →

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