#668B21#668B21

#668B21 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.8% C 0.137 H 127.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#668B21
RGBrgb(102, 139, 33)
HSLhsl(81, 62%, 34%)
HSVhsv(81, 76%, 55%)
CMYKcmyk(26.6%, 0%, 76.3%, 45.5%)
CIE-LABlab(53.38, -28.95, 49.08)
CIE-LCHlch(53.38, 56.98, 120.53°)
OKLaboklab(58.83% -0.0832 0.1092)
OKLCHoklch(58.83% 0.137 127.3)
XYZxyz(14.9867, 21.3995, 4.7795)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B21 #46218B
analogous
#8B7B21 #668B21 #318B21
triadic
#668B21 #21668B #8B2166
tetradic
#668B21 #218B7B #46218B #8B2131
square
#668B21 #218B7B #46218B #8B2131
split-complementary
#668B21 #21318B #7B218B
monochromatic
#1D280A #425A15 #668B21 #8ABC2D #A7D651

Accessibility & contrast

On white

3.98
#668B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#668B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B21
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B21#FFFFFF#000000##000000
##668B211.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668b21;
/* rgb */ color: rgb(102, 139, 33);
/* oklch */ color: oklch(58.8% 0.137 127.3);
Tailwind
colors: {
  custom: {
    50: '#95ad65',
    500: '#668b21',
    950: '#000000',
  },
}
SCSS
$custom: #668b21;
$custom-light: #95ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#668b21",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 80.943,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.13728,
    "h": 127.3
  },
  "luminance": 0.214
}

Semantic roles & 50–950 ramp

primary
#668B21
secondary
#744FB9
accent
#43E57B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B21

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

Preview Lab → · Contrast checker → · Palette generator →

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