#668D4A#668D4A

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

Color values

HEX#668D4A
RGBrgb(102, 141, 74)
HSLhsl(95, 31%, 42%)
HSVhsv(95, 48%, 55%)
CMYKcmyk(27.7%, 0%, 47.5%, 44.7%)
CIE-LABlab(54.42, -26.07, 31.35)
CIE-LCHlch(54.42, 40.77, 129.74°)
OKLaboklab(59.8% -0.0718 0.0759)
OKLCHoklch(59.8% 0.104 133.4)
XYZxyz(16.2401, 22.3685, 9.9391)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D4A #714A8D
analogous
#888D4A #668D4A #4A8D4F
triadic
#668D4A #4A668D #8D4A66
tetradic
#668D4A #4A888D #714A8D #8D4F4A
square
#668D4A #4A888D #714A8D #8D4F4A
split-complementary
#668D4A #4F4A8D #8D4A88
monochromatic
#2C3D20 #496535 #668D4A #84AF66 #A4C48E

Accessibility & contrast

On white

3.84
#668D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#668D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D4A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D4A#FFFFFF#000000##000000
##668D4A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668d4a;
/* rgb */ color: rgb(102, 141, 74);
/* oklch */ color: oklch(59.8% 0.104 133.4);
Tailwind
colors: {
  custom: {
    50: '#93ae7e',
    500: '#668d4a',
    950: '#000000',
  },
}
SCSS
$custom: #668d4a;
$custom-light: #93ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#668d4a",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 94.925,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.10448,
    "h": 133.4
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#668D4A
secondary
#9D83B0
accent
#60C79C
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #668D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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