#668E20#668E20

#668E20 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.142 H 128.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#668E20
RGBrgb(102, 142, 32)
HSLhsl(82, 63%, 34%)
HSVhsv(82, 77%, 56%)
CMYKcmyk(28.2%, 0%, 77.5%, 44.3%)
CIE-LABlab(54.32, -30.43, 50.32)
CIE-LCHlch(54.32, 58.81, 121.16°)
OKLaboklab(59.59% -0.0873 0.1116)
OKLCHoklch(59.59% 0.142 128)
XYZxyz(15.4132, 22.2747, 4.8536)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E20 #48208E
analogous
#8E7F20 #668E20 #2F8E20
triadic
#668E20 #20668E #8E2066
tetradic
#668E20 #208E7F #48208E #8E202F
square
#668E20 #208E7F #48208E #8E202F
split-complementary
#668E20 #202F8E #7F208E
monochromatic
#1E2A09 #425C15 #668E20 #8AC02B #A7D851

Accessibility & contrast

On white

3.85
#668E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#668E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E20
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E20#FFFFFF#000000##000000
##668E201.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958405
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#6A8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e20;
/* rgb */ color: rgb(102, 142, 32);
/* oklch */ color: oklch(59.6% 0.142 128.0);
Tailwind
colors: {
  custom: {
    50: '#95af65',
    500: '#668e20',
    950: '#000000',
  },
}
SCSS
$custom: #668e20;
$custom-light: #95af65;
$custom-dark: #000000;
JSON
{
  "hex": "#668e20",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 81.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5959,
    "c": 0.14174,
    "h": 128
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#668E20
secondary
#764FBB
accent
#42E67D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E20

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

Preview Lab → · Contrast checker → · Palette generator →

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