#668416#668416

#668416 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.134 H 124.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#668416
RGBrgb(102, 132, 22)
HSLhsl(76, 71%, 30%)
HSVhsv(76, 83%, 52%)
CMYKcmyk(22.7%, 0%, 83.3%, 48.2%)
CIE-LABlab(51.13, -26.10, 50.57)
CIE-LCHlch(51.13, 56.90, 117.30°)
OKLaboklab(56.99% -0.0763 0.1105)
OKLCHoklch(56.99% 0.134 124.6)
XYZxyz(13.8757, 19.3851, 3.7696)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668416 #341684
analogous
#846B16 #668416 #2F8416
triadic
#668416 #166684 #841666
tetradic
#668416 #16846B #341684 #84162F
square
#668416 #16846B #341684 #84162F
split-complementary
#668416 #162F84 #6B1684
monochromatic
#151B05 #3D500D #668416 #8FB81F #B0DE37

Accessibility & contrast

On white

4.31
#668416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#668416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668416
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668416#FFFFFF#000000##000000
##6684161.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#6B7D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #668416;
/* rgb */ color: rgb(102, 132, 22);
/* oklch */ color: oklch(57.0% 0.134 124.6);
Tailwind
colors: {
  custom: {
    50: '#95a85f',
    500: '#668416',
    950: '#000000',
  },
}
SCSS
$custom: #668416;
$custom-light: #95a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#668416",
  "rgb": {
    "r": 102,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 76.364,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.13425,
    "h": 124.6
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#668416
secondary
#5F3DB8
accent
#3AEE6B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668416

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

Preview Lab → · Contrast checker → · Palette generator →

#668416 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva