#668417#668417

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

Color values

HEX#668417
RGBrgb(102, 132, 23)
HSLhsl(77, 70%, 30%)
HSVhsv(77, 83%, 52%)
CMYKcmyk(22.7%, 0%, 82.6%, 48.2%)
CIE-LABlab(51.14, -26.06, 50.28)
CIE-LCHlch(51.14, 56.63, 117.40°)
OKLaboklab(57% -0.0761 0.11)
OKLCHoklch(57% 0.134 124.7)
XYZxyz(13.8856, 19.3890, 3.8214)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668417 #351784
analogous
#846C17 #668417 #2F8417
triadic
#668417 #176684 #841766
tetradic
#668417 #17846C #351784 #84172F
square
#668417 #17846C #351784 #84172F
split-complementary
#668417 #172F84 #6C1784
monochromatic
#151C05 #3E500E #668417 #8EB820 #AFDC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668417#FFFFFF#000000##000000
##6684171.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)
#887923
Tritanopia (blue-blind)
#6B7D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #668417;
/* rgb */ color: rgb(102, 132, 23);
/* oklch */ color: oklch(57.0% 0.134 124.7);
Tailwind
colors: {
  custom: {
    50: '#95a85f',
    500: '#668417',
    950: '#000000',
  },
}
SCSS
$custom: #668417;
$custom-light: #95a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#668417",
  "rgb": {
    "r": 102,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 76.514,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.13378,
    "h": 124.7
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#668417
secondary
#603FB8
accent
#3BED6C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668417

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

Preview Lab → · Contrast checker → · Palette generator →

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