#668D4B#668D4B

#668D4B is a mid, moderate yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.103 H 133.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#668D4B
RGBrgb(102, 141, 75)
HSLhsl(95, 31%, 42%)
HSVhsv(95, 47%, 55%)
CMYKcmyk(27.7%, 0%, 46.8%, 44.7%)
CIE-LABlab(54.43, -25.93, 30.84)
CIE-LCHlch(54.43, 40.30, 130.06°)
OKLaboklab(59.82% -0.0714 0.0748)
OKLCHoklch(59.82% 0.103 133.7)
XYZxyz(16.2740, 22.3821, 10.1180)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D4B #724B8D
analogous
#878D4B #668D4B #4B8D51
triadic
#668D4B #4B668D #8D4B66
tetradic
#668D4B #4B878D #724B8D #8D514B
square
#668D4B #4B878D #724B8D #8D514B
split-complementary
#668D4B #514B8D #8D4B87
monochromatic
#2C3D20 #496536 #668D4B #84AE67 #A4C38F

Accessibility & contrast

On white

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

On black

5.48
#668D4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D4B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D4B#FFFFFF#000000##000000
##668D4B1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928446
Deuteranopia (green-blind)
#8C814F
Tritanopia (blue-blind)
#66887D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d4b;
/* rgb */ color: rgb(102, 141, 75);
/* oklch */ color: oklch(59.8% 0.103 133.7);
Tailwind
colors: {
  custom: {
    50: '#93ae7e',
    500: '#668d4b',
    950: '#000000',
  },
}
SCSS
$custom: #668d4b;
$custom-light: #93ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#668d4b",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 75
  },
  "hsl": {
    "h": 95.455,
    "s": 30.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59818,
    "c": 0.1034,
    "h": 133.7
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#668D4B
secondary
#9E84B0
accent
#61C79D
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #668D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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