#556612#556612

#556612 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.107 H 120.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#556612
RGBrgb(85, 102, 18)
HSLhsl(72, 70%, 24%)
HSVhsv(72, 82%, 40%)
CMYKcmyk(16.7%, 0%, 82.4%, 60%)
CIE-LABlab(40.37, -18.46, 41.64)
CIE-LCHlch(40.37, 45.55, 113.91°)
OKLaboklab(47.97% -0.0547 0.0914)
OKLCHoklch(47.97% 0.107 120.9)
XYZxyz(8.6070, 11.4777, 2.3341)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556612 #231266
analogous
#664D12 #556612 #2B6612
triadic
#556612 #125566 #661255
tetradic
#556612 #12664D #231266 #66122B
square
#556612 #12664D #231266 #66122B
split-complementary
#556612 #122B66 #4D1266
monochromatic
#161A05 #2A3209 #556612 #809A1B #ACCE24

Accessibility & contrast

On white

6.37
#556612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#556612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556612
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556612#FFFFFF#000000##FFFFFF
##5566121.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#5A6056
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #556612;
/* rgb */ color: rgb(85, 102, 18);
/* oklch */ color: oklch(48.0% 0.107 120.9);
Tailwind
colors: {
  custom: {
    50: '#889158',
    500: '#556612',
    950: '#000000',
  },
}
SCSS
$custom: #556612;
$custom-light: #889158;
$custom-dark: #000000;
JSON
{
  "hex": "#556612",
  "rgb": {
    "r": 85,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 72.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47969,
    "c": 0.10652,
    "h": 120.9
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#556612
secondary
#4B369E
accent
#3BED5F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556612

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

Preview Lab → · Contrast checker → · Palette generator →

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