#556D17#556D17

#556D17 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.113 H 124.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#556D17
RGBrgb(85, 109, 23)
HSLhsl(77, 65%, 26%)
HSVhsv(77, 79%, 43%)
CMYKcmyk(22%, 0%, 78.9%, 57.3%)
CIE-LABlab(42.66, -21.86, 42.01)
CIE-LCHlch(42.66, 47.36, 117.49°)
OKLaboklab(49.83% -0.0636 0.0931)
OKLCHoklch(49.83% 0.113 124.4)
XYZxyz(9.3697, 12.9303, 2.8126)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556D17 #2F176D
analogous
#6D5A17 #556D17 #2A6D17
triadic
#556D17 #17556D #6D1755
tetradic
#556D17 #176D5A #2F176D #6D172A
square
#556D17 #176D5A #2F176D #6D172A
split-complementary
#556D17 #172A6D #5A176D
monochromatic
#141905 #2E3A0C #556D17 #7CA022 #A4D22C

Accessibility & contrast

On white

5.86
#556D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#556D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556D17
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556D17#FFFFFF#000000##FFFFFF
##556D171.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746504
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#59675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #556d17;
/* rgb */ color: rgb(85, 109, 23);
/* oklch */ color: oklch(49.8% 0.113 124.4);
Tailwind
colors: {
  custom: {
    50: '#88975b',
    500: '#556d17',
    950: '#000000',
  },
}
SCSS
$custom: #556d17;
$custom-light: #88975b;
$custom-dark: #000000;
JSON
{
  "hex": "#556d17",
  "rgb": {
    "r": 85,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 76.744,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49825,
    "c": 0.11275,
    "h": 124.4
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#556D17
secondary
#593DA3
accent
#40E86F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556D17

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

Preview Lab → · Contrast checker → · Palette generator →

#556D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva