#556817#556817

#556817 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.5% C 0.106 H 122.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#556817
RGBrgb(85, 104, 23)
HSLhsl(74, 64%, 25%)
HSVhsv(74, 78%, 41%)
CMYKcmyk(18.3%, 0%, 77.9%, 59.2%)
CIE-LABlab(41.05, -19.26, 40.47)
CIE-LCHlch(41.05, 44.82, 115.45°)
OKLaboklab(48.52% -0.0565 0.0898)
OKLCHoklch(48.52% 0.106 122.2)
XYZxyz(8.8514, 11.8938, 2.6399)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556817 #2A1768
analogous
#685317 #556817 #2D6817
triadic
#556817 #175568 #681755
tetradic
#556817 #176853 #2A1768 #68172D
square
#556817 #176853 #2A1768 #68172D
split-complementary
#556817 #172D68 #531768
monochromatic
#141906 #2C360C #556817 #7E9A22 #A7CC2D

Accessibility & contrast

On white

6.22
#556817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#556817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556817
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556817#FFFFFF#000000##FFFFFF
##5568171.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6107
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#5A6259
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #556817;
/* rgb */ color: rgb(85, 104, 23);
/* oklch */ color: oklch(48.5% 0.106 122.2);
Tailwind
colors: {
  custom: {
    50: '#88935b',
    500: '#556817',
    950: '#000000',
  },
}
SCSS
$custom: #556817;
$custom-light: #88935b;
$custom-dark: #000000;
JSON
{
  "hex": "#556817",
  "rgb": {
    "r": 85,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 74.074,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.10612,
    "h": 122.2
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#556817
secondary
#533D9E
accent
#41E768
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556817

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

Preview Lab → · Contrast checker → · Palette generator →

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