#668C24#668C24

#668C24 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.137 H 127.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#668C24
RGBrgb(102, 140, 36)
HSLhsl(82, 59%, 35%)
HSVhsv(82, 74%, 55%)
CMYKcmyk(27.1%, 0%, 74.3%, 45.1%)
CIE-LABlab(53.72, -29.25, 48.30)
CIE-LCHlch(53.72, 56.46, 121.20°)
OKLaboklab(59.11% -0.0838 0.1081)
OKLCHoklch(59.11% 0.137 127.8)
XYZxyz(15.1760, 21.7080, 5.0592)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C24 #4A248C
analogous
#8C7E24 #668C24 #328C24
triadic
#668C24 #24668C #8C2466
tetradic
#668C24 #248C7E #4A248C #8C2432
square
#668C24 #248C7E #4A248C #8C2432
split-complementary
#668C24 #24328C #7E248C
monochromatic
#1F2B0B #435B17 #668C24 #89BD31 #A6D457

Accessibility & contrast

On white

3.93
#668C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#668C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C24
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C24#FFFFFF#000000##000000
##668C241.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938211
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#6A8578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c24;
/* rgb */ color: rgb(102, 140, 36);
/* oklch */ color: oklch(59.1% 0.137 127.8);
Tailwind
colors: {
  custom: {
    50: '#95ad66',
    500: '#668c24',
    950: '#000000',
  },
}
SCSS
$custom: #668c24;
$custom-light: #95ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#668c24",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 81.923,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.13672,
    "h": 127.8
  },
  "luminance": 0.21708
}

Semantic roles & 50–950 ramp

primary
#668C24
secondary
#7854B8
accent
#46E27F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C24

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

Preview Lab → · Contrast checker → · Palette generator →

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