#668517#668517

#668517 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.3% C 0.135 H 125.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#668517
RGBrgb(102, 133, 23)
HSLhsl(77, 71%, 31%)
HSVhsv(77, 83%, 52%)
CMYKcmyk(23.3%, 0%, 82.7%, 47.8%)
CIE-LABlab(51.45, -26.55, 50.56)
CIE-LCHlch(51.45, 57.10, 117.70°)
OKLaboklab(57.25% -0.0774 0.1106)
OKLCHoklch(57.25% 0.135 125)
XYZxyz(14.0218, 19.6615, 3.8668)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668517 #361785
analogous
#856D17 #668517 #2F8517
triadic
#668517 #176685 #851766
tetradic
#668517 #17856D #361785 #85172F
square
#668517 #17856D #361785 #85172F
split-complementary
#668517 #172F85 #6D1785
monochromatic
#161D05 #3E510E #668517 #8EB920 #AFDD3A

Accessibility & contrast

On white

4.26
#668517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#668517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668517
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668517#FFFFFF#000000##000000
##6685171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#6B7E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #668517;
/* rgb */ color: rgb(102, 133, 23);
/* oklch */ color: oklch(57.3% 0.135 125.0);
Tailwind
colors: {
  custom: {
    50: '#95a85f',
    500: '#668517',
    950: '#000000',
  },
}
SCSS
$custom: #668517;
$custom-light: #95a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#668517",
  "rgb": {
    "r": 102,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 76.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.13502,
    "h": 125
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#668517
secondary
#613FB9
accent
#3BED6D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668517

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

Preview Lab → · Contrast checker → · Palette generator →

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