#668B24#668B24

#668B24 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.135 H 127.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#668B24
RGBrgb(102, 139, 36)
HSLhsl(82, 59%, 34%)
HSVhsv(82, 74%, 55%)
CMYKcmyk(26.6%, 0%, 74.1%, 45.5%)
CIE-LABlab(53.40, -28.77, 47.99)
CIE-LCHlch(53.40, 55.95, 120.94°)
OKLaboklab(58.86% -0.0825 0.1074)
OKLCHoklch(58.86% 0.135 127.5)
XYZxyz(15.0306, 21.4171, 5.0107)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B24 #49248B
analogous
#8B7D24 #668B24 #338B24
triadic
#668B24 #24668B #8B2466
tetradic
#668B24 #248B7D #49248B #8B2433
square
#668B24 #248B7D #49248B #8B2433
split-complementary
#668B24 #24338B #7D248B
monochromatic
#1F2A0B #425A17 #668B24 #8ABC31 #A6D356

Accessibility & contrast

On white

3.97
#668B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#668B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B24
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B24#FFFFFF#000000##000000
##668B241.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b24;
/* rgb */ color: rgb(102, 139, 36);
/* oklch */ color: oklch(58.9% 0.135 127.5);
Tailwind
colors: {
  custom: {
    50: '#95ad66',
    500: '#668b24',
    950: '#000000',
  },
}
SCSS
$custom: #668b24;
$custom-light: #95ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#668b24",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 81.553,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.1354,
    "h": 127.5
  },
  "luminance": 0.21417
}

Semantic roles & 50–950 ramp

primary
#668B24
secondary
#7753B7
accent
#46E27E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B24

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

Preview Lab → · Contrast checker → · Palette generator →

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