#556811#556811

#556811 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.5% C 0.110 H 121.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#556811
RGBrgb(85, 104, 17)
HSLhsl(73, 72%, 24%)
HSVhsv(73, 84%, 41%)
CMYKcmyk(18.3%, 0%, 83.7%, 59.2%)
CIE-LABlab(41.01, -19.57, 42.55)
CIE-LCHlch(41.01, 46.83, 114.69°)
OKLaboklab(48.48% -0.0578 0.0931)
OKLCHoklch(48.48% 0.11 121.9)
XYZxyz(8.7980, 11.8724, 2.3583)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556811 #241168
analogous
#684F11 #556811 #296811
triadic
#556811 #115568 #681155
tetradic
#556811 #11684F #241168 #681129
square
#556811 #11684F #241168 #681129
split-complementary
#556811 #112968 #4F1168
monochromatic
#151A04 #2A3308 #556811 #809D1A #ABD122

Accessibility & contrast

On white

6.22
#556811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#556811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556811
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556811#FFFFFF#000000##FFFFFF
##5568111.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6C611A
Tritanopia (blue-blind)
#5A6258
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #556811;
/* rgb */ color: rgb(85, 104, 17);
/* oklch */ color: oklch(48.5% 0.110 121.9);
Tailwind
colors: {
  custom: {
    50: '#889358',
    500: '#556811',
    950: '#000000',
  },
}
SCSS
$custom: #556811;
$custom-light: #889358;
$custom-dark: #000000;
JSON
{
  "hex": "#556811",
  "rgb": {
    "r": 85,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 73.103,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48484,
    "c": 0.10963,
    "h": 121.9
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#556811
secondary
#4C35A0
accent
#39EF61
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556811

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

Preview Lab → · Contrast checker → · Palette generator →

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