#668D4F#668D4F

#668D4F is a mid, moderate yellow-green. Relative luminance 0.224; OKLCH L 59.9% C 0.099 H 134.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#668D4F
RGBrgb(102, 141, 79)
HSLhsl(98, 28%, 43%)
HSVhsv(98, 44%, 55%)
CMYKcmyk(27.7%, 0%, 44%, 44.7%)
CIE-LABlab(54.49, -25.39, 28.78)
CIE-LCHlch(54.49, 38.37, 131.42°)
OKLaboklab(59.89% -0.0697 0.0703)
OKLCHoklch(59.89% 0.099 134.7)
XYZxyz(16.4153, 22.4385, 10.8618)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D4F #764F8D
analogous
#858D4F #668D4F #4F8D57
triadic
#668D4F #4F668D #8D4F66
tetradic
#668D4F #4F858D #764F8D #8D574F
square
#668D4F #4F858D #764F8D #8D574F
split-complementary
#668D4F #574F8D #8D4F85
monochromatic
#2D3F23 #4A6639 #668D4F #84AD6C #A5C394

Accessibility & contrast

On white

3.83
#668D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#668D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D4F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D4F#FFFFFF#000000##000000
##668D4F1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844A
Deuteranopia (green-blind)
#8C8153
Tritanopia (blue-blind)
#66897E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d4f;
/* rgb */ color: rgb(102, 141, 79);
/* oklch */ color: oklch(59.9% 0.099 134.7);
Tailwind
colors: {
  custom: {
    50: '#93ae81',
    500: '#668d4f',
    950: '#000000',
  },
}
SCSS
$custom: #668d4f;
$custom-light: #93ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#668d4f",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 97.742,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59885,
    "c": 0.09898,
    "h": 134.7
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

primary
#668D4F
secondary
#A188AF
accent
#63C4A0
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #668D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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