#556417#556417

#556417 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.5% C 0.101 H 120.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#556417
RGBrgb(85, 100, 23)
HSLhsl(72, 63%, 24%)
HSVhsv(72, 77%, 39%)
CMYKcmyk(15%, 0%, 77%, 60.8%)
CIE-LABlab(39.76, -17.12, 39.23)
CIE-LCHlch(39.76, 42.80, 113.58°)
OKLaboklab(47.49% -0.0506 0.0872)
OKLCHoklch(47.49% 0.101 120.1)
XYZxyz(8.4583, 11.1075, 2.5088)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556417 #261764
analogous
#644D17 #556417 #2F6417
triadic
#556417 #175564 #641755
tetradic
#556417 #17644D #261764 #64172F
square
#556417 #17644D #261764 #64172F
split-complementary
#556417 #172F64 #4D1764
monochromatic
#151906 #2B320C #556417 #7F9622 #AAC82E

Accessibility & contrast

On white

6.52
#556417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#556417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556417
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556417#FFFFFF#000000##FFFFFF
##5564171.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#5A5E55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #556417;
/* rgb */ color: rgb(85, 100, 23);
/* oklch */ color: oklch(47.5% 0.101 120.1);
Tailwind
colors: {
  custom: {
    50: '#87905a',
    500: '#556417',
    950: '#000000',
  },
}
SCSS
$custom: #556417;
$custom-light: #87905a;
$custom-dark: #000000;
JSON
{
  "hex": "#556417",
  "rgb": {
    "r": 85,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 71.688,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47485,
    "c": 0.10085,
    "h": 120.1
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#556417
secondary
#4F3C9A
accent
#42E662
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556417

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

Preview Lab → · Contrast checker → · Palette generator →

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