#556317#556317

#556317 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.2% C 0.100 H 119.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#556317
RGBrgb(85, 99, 23)
HSLhsl(71, 62%, 24%)
HSVhsv(71, 77%, 39%)
CMYKcmyk(14.1%, 0%, 76.8%, 61.2%)
CIE-LABlab(39.44, -16.58, 38.92)
CIE-LCHlch(39.44, 42.30, 113.07°)
OKLaboklab(47.23% -0.0491 0.0866)
OKLCHoklch(47.23% 0.1 119.6)
XYZxyz(8.3630, 10.9169, 2.4770)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556317 #251763
analogous
#634B17 #556317 #2F6317
triadic
#556317 #175563 #631755
tetradic
#556317 #17634B #251763 #63172F
square
#556317 #17634B #251763 #63172F
split-complementary
#556317 #172F63 #4B1763
monochromatic
#151906 #2A310B #556317 #809523 #AAC62E

Accessibility & contrast

On white

6.60
#556317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#556317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556317
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556317#FFFFFF#000000##FFFFFF
##5563171.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#5A5D54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #556317;
/* rgb */ color: rgb(85, 99, 23);
/* oklch */ color: oklch(47.2% 0.100 119.6);
Tailwind
colors: {
  custom: {
    50: '#878f5a',
    500: '#556317',
    950: '#000000',
  },
}
SCSS
$custom: #556317;
$custom-light: #878f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#556317",
  "rgb": {
    "r": 85,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 71.053,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47227,
    "c": 0.09953,
    "h": 119.6
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#556317
secondary
#4D3C9A
accent
#42E560
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556317

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

Preview Lab → · Contrast checker → · Palette generator →

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