#556512#556512

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

Color values

HEX#556512
RGBrgb(85, 101, 18)
HSLhsl(72, 70%, 23%)
HSVhsv(72, 82%, 40%)
CMYKcmyk(15.8%, 0%, 82.2%, 60.4%)
CIE-LABlab(40.05, -17.93, 41.34)
CIE-LCHlch(40.05, 45.06, 113.44°)
OKLaboklab(47.71% -0.0533 0.0908)
OKLCHoklch(47.71% 0.105 120.4)
XYZxyz(8.5093, 11.2824, 2.3016)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556512 #221265
analogous
#654B12 #556512 #2B6512
triadic
#556512 #125565 #651255
tetradic
#556512 #12654B #221265 #65122B
square
#556512 #12654B #221265 #65122B
split-complementary
#556512 #122B65 #4B1265
monochromatic
#161A05 #293109 #556512 #81991B #ACCD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##556512#FFFFFF#000000##FFFFFF
##5565121.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)
#6A5F1A
Tritanopia (blue-blind)
#5A5F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #556512;
/* rgb */ color: rgb(85, 101, 18);
/* oklch */ color: oklch(47.7% 0.105 120.4);
Tailwind
colors: {
  custom: {
    50: '#889058',
    500: '#556512',
    950: '#000000',
  },
}
SCSS
$custom: #556512;
$custom-light: #889058;
$custom-dark: #000000;
JSON
{
  "hex": "#556512",
  "rgb": {
    "r": 85,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 71.566,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.10523,
    "h": 120.4
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#556512
secondary
#4A369D
accent
#3BED5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556512

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

Preview Lab → · Contrast checker → · Palette generator →

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