#556D20#556D20

#556D20 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.106 H 125.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#556D20
RGBrgb(85, 109, 32)
HSLhsl(79, 55%, 28%)
HSVhsv(79, 71%, 43%)
CMYKcmyk(22%, 0%, 70.6%, 57.3%)
CIE-LABlab(42.72, -21.27, 38.44)
CIE-LCHlch(42.72, 43.94, 118.95°)
OKLaboklab(49.9% -0.0612 0.0871)
OKLCHoklch(49.9% 0.106 125.1)
XYZxyz(9.4757, 12.9728, 3.3710)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556D20 #38206D
analogous
#6D5E20 #556D20 #2F6D20
triadic
#556D20 #20556D #6D2055
tetradic
#556D20 #206D5E #38206D #6D202F
square
#556D20 #206D5E #38206D #6D202F
split-complementary
#556D20 #202F6D #5E206D
monochromatic
#121807 #303E12 #556D20 #7A9C2E #9DC740

Accessibility & contrast

On white

5.84
#556D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #556D20
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556D20#FFFFFF#000000##FFFFFF
##556D201.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#59685D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #556d20;
/* rgb */ color: rgb(85, 109, 32);
/* oklch */ color: oklch(49.9% 0.106 125.1);
Tailwind
colors: {
  custom: {
    50: '#879760',
    500: '#556d20',
    950: '#000000',
  },
}
SCSS
$custom: #556d20;
$custom-light: #879760;
$custom-dark: #000000;
JSON
{
  "hex": "#556d20",
  "rgb": {
    "r": 85,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 78.701,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.10644,
    "h": 125.1
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#556D20
secondary
#6448A1
accent
#4ADE78
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #556D20

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

Preview Lab → · Contrast checker → · Palette generator →

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