#668E21#668E21

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

Color values

HEX#668E21
RGBrgb(102, 142, 33)
HSLhsl(82, 62%, 34%)
HSVhsv(82, 77%, 56%)
CMYKcmyk(28.2%, 0%, 76.8%, 44.3%)
CIE-LABlab(54.32, -30.38, 49.98)
CIE-LCHlch(54.32, 58.49, 121.29°)
OKLaboklab(59.6% -0.0871 0.1111)
OKLCHoklch(59.6% 0.141 128.1)
XYZxyz(15.4270, 22.2802, 4.9263)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E21 #49218E
analogous
#8E8021 #668E21 #308E21
triadic
#668E21 #21668E #8E2166
tetradic
#668E21 #218E80 #49218E #8E2130
square
#668E21 #218E80 #49218E #8E2130
split-complementary
#668E21 #21308E #80218E
monochromatic
#1F2B0A #425C15 #668E21 #8AC02D #A6D752

Accessibility & contrast

On white

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

On black

5.46
#668E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E21
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E21#FFFFFF#000000##000000
##668E211.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668e21;
/* rgb */ color: rgb(102, 142, 33);
/* oklch */ color: oklch(59.6% 0.141 128.1);
Tailwind
colors: {
  custom: {
    50: '#95af65',
    500: '#668e21',
    950: '#000000',
  },
}
SCSS
$custom: #668e21;
$custom-light: #95af65;
$custom-dark: #000000;
JSON
{
  "hex": "#668e21",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 82.018,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.14116,
    "h": 128.1
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#668E21
secondary
#7750BA
accent
#42E57E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E21

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

Preview Lab → · Contrast checker → · Palette generator →

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