#556812#556812

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

Color values

HEX#556812
RGBrgb(85, 104, 18)
HSLhsl(73, 70%, 24%)
HSVhsv(73, 83%, 41%)
CMYKcmyk(18.3%, 0%, 82.7%, 59.2%)
CIE-LABlab(41.02, -19.52, 42.23)
CIE-LCHlch(41.02, 46.52, 114.81°)
OKLaboklab(48.49% -0.0576 0.0926)
OKLCHoklch(48.49% 0.109 121.9)
XYZxyz(8.8060, 11.8756, 2.4004)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556812 #251268
analogous
#685012 #556812 #2A6812
triadic
#556812 #125568 #681255
tetradic
#556812 #126850 #251268 #68122A
square
#556812 #126850 #251268 #68122A
split-complementary
#556812 #122A68 #501268
monochromatic
#151A05 #2A3409 #556812 #809C1B #AAD024

Accessibility & contrast

On white

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

On black

3.38
#556812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##556812#FFFFFF#000000##FFFFFF
##5568121.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #556812;
/* rgb */ color: rgb(85, 104, 18);
/* oklch */ color: oklch(48.5% 0.109 121.9);
Tailwind
colors: {
  custom: {
    50: '#889358',
    500: '#556812',
    950: '#000000',
  },
}
SCSS
$custom: #556812;
$custom-light: #889358;
$custom-dark: #000000;
JSON
{
  "hex": "#556812",
  "rgb": {
    "r": 85,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 73.256,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48489,
    "c": 0.1091,
    "h": 121.9
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#556812
secondary
#4D36A0
accent
#3BED62
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556812

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

Preview Lab → · Contrast checker → · Palette generator →

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