#668D22#668D22

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

Color values

HEX#668D22
RGBrgb(102, 141, 34)
HSLhsl(82, 61%, 34%)
HSVhsv(82, 76%, 55%)
CMYKcmyk(27.7%, 0%, 75.9%, 44.7%)
CIE-LABlab(54.02, -29.84, 49.33)
CIE-LCHlch(54.02, 57.65, 121.17°)
OKLaboklab(59.35% -0.0856 0.1099)
OKLCHoklch(59.35% 0.139 127.9)
XYZxyz(15.2931, 21.9897, 4.9518)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D22 #49228D
analogous
#8D7F22 #668D22 #318D22
triadic
#668D22 #22668D #8D2266
tetradic
#668D22 #228D7F #49228D #8D2231
square
#668D22 #228D7F #49228D #8D2231
split-complementary
#668D22 #22318D #7F228D
monochromatic
#1F2A0A #425C16 #668D22 #8ABE2E #A6D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D22#FFFFFF#000000##000000
##668D221.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)
#94830B
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#6A8679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d22;
/* rgb */ color: rgb(102, 141, 34);
/* oklch */ color: oklch(59.3% 0.139 127.9);
Tailwind
colors: {
  custom: {
    50: '#95ae65',
    500: '#668d22',
    950: '#000000',
  },
}
SCSS
$custom: #668d22;
$custom-light: #95ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#668d22",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 81.869,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.13928,
    "h": 127.9
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#668D22
secondary
#7751B9
accent
#44E47E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D22

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

Preview Lab → · Contrast checker → · Palette generator →

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