#556511#556511

#556511 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.106 H 120.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#556511
RGBrgb(85, 101, 17)
HSLhsl(71, 71%, 23%)
HSVhsv(71, 83%, 40%)
CMYKcmyk(15.8%, 0%, 83.2%, 60.4%)
CIE-LABlab(40.05, -17.97, 41.67)
CIE-LCHlch(40.05, 45.38, 113.33°)
OKLaboklab(47.7% -0.0535 0.0913)
OKLCHoklch(47.7% 0.106 120.4)
XYZxyz(8.5013, 11.2792, 2.2594)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556511 #211165
analogous
#654B11 #556511 #2B6511
triadic
#556511 #115565 #651155
tetradic
#556511 #11654B #211165 #65112B
square
#556511 #11654B #211165 #65112B
split-complementary
#556511 #112B65 #4B1165
monochromatic
#161A04 #293108 #556511 #81991A #ADCE23

Accessibility & contrast

On white

6.45
#556511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#556511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556511
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556511#FFFFFF#000000##FFFFFF
##5565111.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6A5F19
Tritanopia (blue-blind)
#5A5F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #556511;
/* rgb */ color: rgb(85, 101, 17);
/* oklch */ color: oklch(47.7% 0.106 120.4);
Tailwind
colors: {
  custom: {
    50: '#889058',
    500: '#556511',
    950: '#000000',
  },
}
SCSS
$custom: #556511;
$custom-light: #889058;
$custom-dark: #000000;
JSON
{
  "hex": "#556511",
  "rgb": {
    "r": 85,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 71.429,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47704,
    "c": 0.10579,
    "h": 120.4
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#556511
secondary
#49359D
accent
#3AEE5C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556511

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

Preview Lab → · Contrast checker → · Palette generator →

#556511 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva