#556816#556816

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

Color values

HEX#556816
RGBrgb(85, 104, 22)
HSLhsl(74, 65%, 25%)
HSVhsv(74, 79%, 41%)
CMYKcmyk(18.3%, 0%, 78.8%, 59.2%)
CIE-LABlab(41.04, -19.31, 40.84)
CIE-LCHlch(41.04, 45.18, 115.31°)
OKLaboklab(48.52% -0.0567 0.0904)
OKLCHoklch(48.52% 0.107 122.1)
XYZxyz(8.8416, 11.8898, 2.5881)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556816 #291668
analogous
#685216 #556816 #2C6816
triadic
#556816 #165568 #681655
tetradic
#556816 #166852 #291668 #68162C
square
#556816 #166852 #291668 #68162C
split-complementary
#556816 #162C68 #521668
monochromatic
#151905 #2C350B #556816 #7E9B21 #A8CD2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##556816#FFFFFF#000000##FFFFFF
##5568161.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)
#6F6105
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#5A6258
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #556816;
/* rgb */ color: rgb(85, 104, 22);
/* oklch */ color: oklch(48.5% 0.107 122.1);
Tailwind
colors: {
  custom: {
    50: '#88935a',
    500: '#556816',
    950: '#000000',
  },
}
SCSS
$custom: #556816;
$custom-light: #88935a;
$custom-dark: #000000;
JSON
{
  "hex": "#556816",
  "rgb": {
    "r": 85,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 73.902,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48515,
    "c": 0.10677,
    "h": 122.1
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#556816
secondary
#523B9F
accent
#40E867
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556816

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

Preview Lab → · Contrast checker → · Palette generator →

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