#668A24#668A24

#668A24 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.134 H 127.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#668A24
RGBrgb(102, 138, 36)
HSLhsl(81, 59%, 34%)
HSVhsv(81, 74%, 54%)
CMYKcmyk(26.1%, 0%, 73.9%, 45.9%)
CIE-LABlab(53.09, -28.28, 47.68)
CIE-LCHlch(53.09, 55.44, 120.68°)
OKLaboklab(58.6% -0.0811 0.1068)
OKLCHoklch(58.6% 0.134 127.2)
XYZxyz(14.8864, 21.1288, 4.9627)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A24 #48248A
analogous
#8A7B24 #668A24 #338A24
triadic
#668A24 #24668A #8A2466
tetradic
#668A24 #248A7B #48248A #8A2433
square
#668A24 #248A7B #48248A #8A2433
split-complementary
#668A24 #24338A #7B248A
monochromatic
#1E290B #425917 #668A24 #8ABB31 #A7D356

Accessibility & contrast

On white

4.02
#668A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#668A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A24
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A24#FFFFFF#000000##000000
##668A241.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#6A8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a24;
/* rgb */ color: rgb(102, 138, 36);
/* oklch */ color: oklch(58.6% 0.134 127.2);
Tailwind
colors: {
  custom: {
    50: '#95ac66',
    500: '#668a24',
    950: '#000000',
  },
}
SCSS
$custom: #668a24;
$custom-light: #95ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#668a24",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 81.176,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.1341,
    "h": 127.2
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#668A24
secondary
#7653B7
accent
#46E27D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A24

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

Preview Lab → · Contrast checker → · Palette generator →

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