#668D51#668D51

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

Color values

HEX#668D51
RGBrgb(102, 141, 81)
HSLhsl(99, 27%, 44%)
HSVhsv(99, 43%, 55%)
CMYKcmyk(27.7%, 0%, 42.6%, 44.7%)
CIE-LABlab(54.52, -25.10, 27.74)
CIE-LCHlch(54.52, 37.41, 132.15°)
OKLaboklab(59.92% -0.0688 0.068)
OKLCHoklch(59.92% 0.097 135.3)
XYZxyz(16.4892, 22.4681, 11.2510)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D51 #78518D
analogous
#848D51 #668D51 #518D5A
triadic
#668D51 #51668D #8D5166
tetradic
#668D51 #51848D #78518D #8D5A51
square
#668D51 #51848D #78518D #8D5A51
split-complementary
#668D51 #5A518D #8D5184
monochromatic
#2E3F24 #4A663B #668D51 #84AC6F #A5C396

Accessibility & contrast

On white

3.82
#668D51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D51#FFFFFF#000000##000000
##668D511.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91854C
Deuteranopia (green-blind)
#8B8154
Tritanopia (blue-blind)
#66897E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d51;
/* rgb */ color: rgb(102, 141, 81);
/* oklch */ color: oklch(59.9% 0.097 135.3);
Tailwind
colors: {
  custom: {
    50: '#93ae83',
    500: '#668d51',
    950: '#000000',
  },
}
SCSS
$custom: #668d51;
$custom-light: #93ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#668d51",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 99,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5992,
    "c": 0.09674,
    "h": 135.3
  },
  "luminance": 0.22469
}

Semantic roles & 50–950 ramp

primary
#668D51
secondary
#A28AAF
accent
#64C3A2
background
#F9FAF8
surface
#F1F4EF
border
#CBCECA
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #668D51

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

Preview Lab → · Contrast checker → · Palette generator →

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