#556517#556517

#556517 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.102 H 120.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#556517
RGBrgb(85, 101, 23)
HSLhsl(72, 63%, 24%)
HSVhsv(72, 77%, 40%)
CMYKcmyk(15.8%, 0%, 77.2%, 60.4%)
CIE-LABlab(40.08, -17.66, 39.54)
CIE-LCHlch(40.08, 43.30, 114.06°)
OKLaboklab(47.74% -0.0521 0.0879)
OKLCHoklch(47.74% 0.102 120.7)
XYZxyz(8.5548, 11.3005, 2.5410)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556517 #271765
analogous
#654E17 #556517 #2E6517
triadic
#556517 #175565 #651755
tetradic
#556517 #17654E #271765 #65172E
square
#556517 #17654E #271765 #65172E
split-complementary
#556517 #172E65 #4E1765
monochromatic
#151906 #2B330C #556517 #7F9722 #A9C92E

Accessibility & contrast

On white

6.44
#556517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#556517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556517
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556517#FFFFFF#000000##FFFFFF
##5565171.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#5A5F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #556517;
/* rgb */ color: rgb(85, 101, 23);
/* oklch */ color: oklch(47.7% 0.102 120.7);
Tailwind
colors: {
  custom: {
    50: '#87905a',
    500: '#556517',
    950: '#000000',
  },
}
SCSS
$custom: #556517;
$custom-light: #87905a;
$custom-dark: #000000;
JSON
{
  "hex": "#556517",
  "rgb": {
    "r": 85,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 72.308,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47744,
    "c": 0.10216,
    "h": 120.7
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#556517
secondary
#503C9B
accent
#42E664
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556517

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

Preview Lab → · Contrast checker → · Palette generator →

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