#556A17#556A17

#556A17 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.109 H 123.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#556A17
RGBrgb(85, 106, 23)
HSLhsl(75, 64%, 25%)
HSVhsv(75, 78%, 42%)
CMYKcmyk(19.8%, 0%, 78.3%, 58.4%)
CIE-LABlab(41.69, -20.31, 41.09)
CIE-LCHlch(41.69, 45.83, 116.30°)
OKLaboklab(49.04% -0.0594 0.0911)
OKLCHoklch(49.04% 0.109 123.1)
XYZxyz(9.0551, 12.3012, 2.7078)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556A17 #2C176A
analogous
#6A5517 #556A17 #2B6A17
triadic
#556A17 #17556A #6A1755
tetradic
#556A17 #176A55 #2C176A #6A172B
square
#556A17 #176A55 #2C176A #6A172B
split-complementary
#556A17 #172B6A #55176A
monochromatic
#141905 #2D380C #556A17 #7D9C22 #A6CF2D

Accessibility & contrast

On white

6.07
#556A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#556A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556A17
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556A17#FFFFFF#000000##FFFFFF
##556A171.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716306
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#5A645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #556a17;
/* rgb */ color: rgb(85, 106, 23);
/* oklch */ color: oklch(49.0% 0.109 123.1);
Tailwind
colors: {
  custom: {
    50: '#88945b',
    500: '#556a17',
    950: '#000000',
  },
}
SCSS
$custom: #556a17;
$custom-light: #88945b;
$custom-dark: #000000;
JSON
{
  "hex": "#556a17",
  "rgb": {
    "r": 85,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 75.181,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.10877,
    "h": 123.1
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#556A17
secondary
#563DA0
accent
#40E76B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556A17

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

Preview Lab → · Contrast checker → · Palette generator →

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