#556B17#556B17

#556B17 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.3% C 0.110 H 123.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#556B17
RGBrgb(85, 107, 23)
HSLhsl(76, 65%, 25%)
HSVhsv(76, 79%, 42%)
CMYKcmyk(20.6%, 0%, 78.5%, 58%)
CIE-LABlab(42.01, -20.83, 41.40)
CIE-LCHlch(42.01, 46.34, 116.71°)
OKLaboklab(49.3% -0.0608 0.0918)
OKLCHoklch(49.3% 0.11 123.5)
XYZxyz(9.1588, 12.5085, 2.7423)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556B17 #2D176B
analogous
#6B5717 #556B17 #2B6B17
triadic
#556B17 #17556B #6B1755
tetradic
#556B17 #176B57 #2D176B #6B172B
square
#556B17 #176B57 #2D176B #6B172B
split-complementary
#556B17 #172B6B #57176B
monochromatic
#141905 #2D390C #556B17 #7D9D22 #A5D02D

Accessibility & contrast

On white

6.00
#556B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#556B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556B17
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556B17#FFFFFF#000000##FFFFFF
##556B171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#5A655B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #556b17;
/* rgb */ color: rgb(85, 107, 23);
/* oklch */ color: oklch(49.3% 0.110 123.5);
Tailwind
colors: {
  custom: {
    50: '#88955b',
    500: '#556b17',
    950: '#000000',
  },
}
SCSS
$custom: #556b17;
$custom-light: #88955b;
$custom-dark: #000000;
JSON
{
  "hex": "#556b17",
  "rgb": {
    "r": 85,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 75.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.1101,
    "h": 123.5
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#556B17
secondary
#573DA1
accent
#40E86C
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556B17

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

Preview Lab → · Contrast checker → · Palette generator →

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