#556912#556912

#556912 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.110 H 122.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#556912
RGBrgb(85, 105, 18)
HSLhsl(74, 71%, 24%)
HSVhsv(74, 83%, 41%)
CMYKcmyk(19%, 0%, 82.9%, 58.8%)
CIE-LABlab(41.34, -20.04, 42.52)
CIE-LCHlch(41.34, 47.01, 115.24°)
OKLaboklab(48.75% -0.0591 0.0932)
OKLCHoklch(48.75% 0.11 122.4)
XYZxyz(8.9072, 12.0781, 2.4342)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556912 #261269
analogous
#695212 #556912 #2A6912
triadic
#556912 #125569 #691255
tetradic
#556912 #126952 #261269 #69122A
square
#556912 #126952 #261269 #69122A
split-complementary
#556912 #122A69 #521269
monochromatic
#151A04 #2B3509 #556912 #7F9D1B #AAD124

Accessibility & contrast

On white

6.15
#556912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#556912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556912
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556912#FFFFFF#000000##FFFFFF
##5569121.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6D611B
Tritanopia (blue-blind)
#5A6359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #556912;
/* rgb */ color: rgb(85, 105, 18);
/* oklch */ color: oklch(48.8% 0.110 122.4);
Tailwind
colors: {
  custom: {
    50: '#889459',
    500: '#556912',
    950: '#000000',
  },
}
SCSS
$custom: #556912;
$custom-light: #889459;
$custom-dark: #000000;
JSON
{
  "hex": "#556912",
  "rgb": {
    "r": 85,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 73.793,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4875,
    "c": 0.11038,
    "h": 122.4
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#556912
secondary
#4F36A1
accent
#3AED63
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556912

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

Preview Lab → · Contrast checker → · Palette generator →

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