#556E17#556E17

#556E17 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.1% C 0.114 H 124.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#556E17
RGBrgb(85, 110, 23)
HSLhsl(77, 65%, 26%)
HSVhsv(77, 79%, 43%)
CMYKcmyk(22.7%, 0%, 79.1%, 56.9%)
CIE-LABlab(42.98, -22.37, 42.32)
CIE-LCHlch(42.98, 47.87, 117.86°)
OKLaboklab(50.09% -0.065 0.0937)
OKLCHoklch(50.09% 0.114 124.8)
XYZxyz(9.4770, 13.1449, 2.8484)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556E17 #30176E
analogous
#6E5B17 #556E17 #296E17
triadic
#556E17 #17556E #6E1755
tetradic
#556E17 #176E5B #30176E #6E1729
square
#556E17 #176E5B #30176E #6E1729
split-complementary
#556E17 #17296E #5B176E
monochromatic
#141905 #2E3B0C #556E17 #7CA122 #A3D32C

Accessibility & contrast

On white

5.79
#556E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#556E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556E17
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556E17#FFFFFF#000000##FFFFFF
##556E171.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#59685E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #556e17;
/* rgb */ color: rgb(85, 110, 23);
/* oklch */ color: oklch(50.1% 0.114 124.8);
Tailwind
colors: {
  custom: {
    50: '#88975c',
    500: '#556e17',
    950: '#000000',
  },
}
SCSS
$custom: #556e17;
$custom-light: #88975c;
$custom-dark: #000000;
JSON
{
  "hex": "#556e17",
  "rgb": {
    "r": 85,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 77.241,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.11408,
    "h": 124.8
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#556E17
secondary
#5B3DA4
accent
#3FE870
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556E17

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

Preview Lab → · Contrast checker → · Palette generator →

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