#668D20#668D20

#668D20 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.140 H 127.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#668D20
RGBrgb(102, 141, 32)
HSLhsl(81, 63%, 34%)
HSVhsv(81, 77%, 55%)
CMYKcmyk(27.7%, 0%, 77.3%, 44.7%)
CIE-LABlab(54.00, -29.96, 50.02)
CIE-LCHlch(54.00, 58.31, 120.92°)
OKLaboklab(59.34% -0.086 0.111)
OKLCHoklch(59.34% 0.14 127.8)
XYZxyz(15.2651, 21.9785, 4.8042)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D20 #47208D
analogous
#8D7E20 #668D20 #308D20
triadic
#668D20 #20668D #8D2066
tetradic
#668D20 #208D7E #47208D #8D2030
square
#668D20 #208D7E #47208D #8D2030
split-complementary
#668D20 #20308D #7E208D
monochromatic
#1E2909 #425B15 #668D20 #8ABF2B #A7D750

Accessibility & contrast

On white

3.89
#668D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#668D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D20
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D20#FFFFFF#000000##000000
##668D201.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948306
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d20;
/* rgb */ color: rgb(102, 141, 32);
/* oklch */ color: oklch(59.3% 0.140 127.8);
Tailwind
colors: {
  custom: {
    50: '#95ae64',
    500: '#668d20',
    950: '#000000',
  },
}
SCSS
$custom: #668d20;
$custom-light: #95ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#668d20",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 81.468,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.14046,
    "h": 127.8
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#668D20
secondary
#754EBA
accent
#42E67D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D20

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

Preview Lab → · Contrast checker → · Palette generator →

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