#668B20#668B20

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

Color values

HEX#668B20
RGBrgb(102, 139, 32)
HSLhsl(81, 63%, 34%)
HSVhsv(81, 77%, 55%)
CMYKcmyk(26.6%, 0%, 77%, 45.5%)
CIE-LABlab(53.38, -29.00, 49.43)
CIE-LCHlch(53.38, 57.31, 120.41°)
OKLaboklab(58.83% -0.0834 0.1098)
OKLCHoklch(58.83% 0.138 127.2)
XYZxyz(14.9729, 21.3940, 4.7068)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B20 #45208B
analogous
#8B7A20 #668B20 #308B20
triadic
#668B20 #20668B #8B2066
tetradic
#668B20 #208B7A #45208B #8B2030
square
#668B20 #208B7A #45208B #8B2030
split-complementary
#668B20 #20308B #7A208B
monochromatic
#1D2809 #415915 #668B20 #8BBD2B #A8D64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668B20#FFFFFF#000000##000000
##668B201.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)
#928107
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668b20;
/* rgb */ color: rgb(102, 139, 32);
/* oklch */ color: oklch(58.8% 0.138 127.2);
Tailwind
colors: {
  custom: {
    50: '#95ad64',
    500: '#668b20',
    950: '#000000',
  },
}
SCSS
$custom: #668b20;
$custom-light: #95ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#668b20",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 80.748,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.13788,
    "h": 127.2
  },
  "luminance": 0.21394
}

Semantic roles & 50–950 ramp

primary
#668B20
secondary
#734DBA
accent
#42E67B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B20

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

Preview Lab → · Contrast checker → · Palette generator →

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