#668D24#668D24

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

Color values

HEX#668D24
RGBrgb(102, 141, 36)
HSLhsl(82, 59%, 35%)
HSVhsv(82, 74%, 55%)
CMYKcmyk(27.7%, 0%, 74.5%, 44.7%)
CIE-LABlab(54.03, -29.72, 48.61)
CIE-LCHlch(54.03, 56.97, 121.44°)
OKLaboklab(59.36% -0.0851 0.1087)
OKLCHoklch(59.36% 0.138 128)
XYZxyz(15.3228, 22.0016, 5.1082)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D24 #4B248D
analogous
#8D8024 #668D24 #318D24
triadic
#668D24 #24668D #8D2466
tetradic
#668D24 #248D80 #4B248D #8D2431
square
#668D24 #248D80 #4B248D #8D2431
split-complementary
#668D24 #24318D #80248D
monochromatic
#1F2B0B #435C18 #668D24 #89BE30 #A6D457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668D24#FFFFFF#000000##000000
##668D241.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)
#948310
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#6A8679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d24;
/* rgb */ color: rgb(102, 141, 36);
/* oklch */ color: oklch(59.4% 0.138 128.0);
Tailwind
colors: {
  custom: {
    50: '#95ae66',
    500: '#668d24',
    950: '#000000',
  },
}
SCSS
$custom: #668d24;
$custom-light: #95ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#668d24",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 82.286,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.13803,
    "h": 128
  },
  "luminance": 0.22002
}

Semantic roles & 50–950 ramp

primary
#668D24
secondary
#7A54B8
accent
#45E380
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D24

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

Preview Lab → · Contrast checker → · Palette generator →

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