#668E22#668E22

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

Color values

HEX#668E22
RGBrgb(102, 142, 34)
HSLhsl(82, 61%, 35%)
HSVhsv(82, 76%, 56%)
CMYKcmyk(28.2%, 0%, 76.1%, 44.3%)
CIE-LABlab(54.33, -30.32, 49.63)
CIE-LCHlch(54.33, 58.16, 121.42°)
OKLaboklab(59.6% -0.0869 0.1105)
OKLCHoklch(59.6% 0.141 128.2)
XYZxyz(15.4412, 22.2859, 5.0011)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E22 #4A228E
analogous
#8E8022 #668E22 #308E22
triadic
#668E22 #22668E #8E2266
tetradic
#668E22 #228E80 #4A228E #8E2230
square
#668E22 #228E80 #4A228E #8E2230
split-complementary
#668E22 #22308E #80228E
monochromatic
#1F2B0A #435D16 #668E22 #89BF2E #A6D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E22#FFFFFF#000000##000000
##668E221.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)
#95840B
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#6A8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e22;
/* rgb */ color: rgb(102, 142, 34);
/* oklch */ color: oklch(59.6% 0.141 128.2);
Tailwind
colors: {
  custom: {
    50: '#95af65',
    500: '#668e22',
    950: '#000000',
  },
}
SCSS
$custom: #668e22;
$custom-light: #95af65;
$custom-dark: #000000;
JSON
{
  "hex": "#668e22",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 82.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.14057,
    "h": 128.2
  },
  "luminance": 0.22286
}

Semantic roles & 50–950 ramp

primary
#668E22
secondary
#7852BA
accent
#43E47F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E22

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

Preview Lab → · Contrast checker → · Palette generator →

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