#668A20#668A20

#668A20 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.137 H 127.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#668A20
RGBrgb(102, 138, 32)
HSLhsl(80, 62%, 33%)
HSVhsv(80, 77%, 54%)
CMYKcmyk(26.1%, 0%, 76.8%, 45.9%)
CIE-LABlab(53.06, -28.52, 49.13)
CIE-LCHlch(53.06, 56.81, 120.14°)
OKLaboklab(58.57% -0.0821 0.1091)
OKLCHoklch(58.57% 0.137 127)
XYZxyz(14.8287, 21.1057, 4.6588)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A20 #44208A
analogous
#8A7920 #668A20 #318A20
triadic
#668A20 #20668A #8A2066
tetradic
#668A20 #208A79 #44208A #8A2031
square
#668A20 #208A79 #44208A #8A2031
split-complementary
#668A20 #20318A #79208A
monochromatic
#1D2709 #415814 #668A20 #8BBC2C #A8D64E

Accessibility & contrast

On white

4.02
#668A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#668A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A20
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A20#FFFFFF#000000##000000
##668A201.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#6A8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a20;
/* rgb */ color: rgb(102, 138, 32);
/* oklch */ color: oklch(58.6% 0.137 127.0);
Tailwind
colors: {
  custom: {
    50: '#95ac64',
    500: '#668a20',
    950: '#000000',
  },
}
SCSS
$custom: #668a20;
$custom-light: #95ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#668a20",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 80.377,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.13659,
    "h": 127
  },
  "luminance": 0.21106
}

Semantic roles & 50–950 ramp

primary
#668A20
secondary
#724DB9
accent
#42E57A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A20

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

Preview Lab → · Contrast checker → · Palette generator →

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