#668D21#668D21

#668D21 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#668D21
RGBrgb(102, 141, 33)
HSLhsl(82, 62%, 34%)
HSVhsv(82, 77%, 55%)
CMYKcmyk(27.7%, 0%, 76.6%, 44.7%)
CIE-LABlab(54.01, -29.90, 49.68)
CIE-LCHlch(54.01, 57.98, 121.04°)
OKLaboklab(59.34% -0.0858 0.1105)
OKLCHoklch(59.34% 0.14 127.8)
XYZxyz(15.2789, 21.9840, 4.8769)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D21 #48218D
analogous
#8D7E21 #668D21 #308D21
triadic
#668D21 #21668D #8D2166
tetradic
#668D21 #218D7E #48218D #8D2130
square
#668D21 #218D7E #48218D #8D2130
split-complementary
#668D21 #21308D #7E218D
monochromatic
#1E2A0A #425B15 #668D21 #8ABF2D #A7D652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D21#FFFFFF#000000##000000
##668D211.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)
#948309
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d21;
/* rgb */ color: rgb(102, 141, 33);
/* oklch */ color: oklch(59.3% 0.140 127.8);
Tailwind
colors: {
  custom: {
    50: '#95ae65',
    500: '#668d21',
    950: '#000000',
  },
}
SCSS
$custom: #668d21;
$custom-light: #95ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#668d21",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 81.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.13987,
    "h": 127.8
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#668D21
secondary
#7650BA
accent
#43E57D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D21

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

Preview Lab → · Contrast checker → · Palette generator →

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