#556916#556916

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

Color values

HEX#556916
RGBrgb(85, 105, 22)
HSLhsl(74, 65%, 25%)
HSVhsv(74, 79%, 41%)
CMYKcmyk(19%, 0%, 79%, 58.8%)
CIE-LABlab(41.36, -19.84, 41.15)
CIE-LCHlch(41.36, 45.68, 115.74°)
OKLaboklab(48.78% -0.0582 0.0911)
OKLCHoklch(48.78% 0.108 122.6)
XYZxyz(8.9428, 12.0923, 2.6218)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556916 #2A1669
analogous
#695416 #556916 #2B6916
triadic
#556916 #165569 #691655
tetradic
#556916 #166954 #2A1669 #69162B
square
#556916 #166954 #2A1669 #69162B
split-complementary
#556916 #162B69 #541669
monochromatic
#141905 #2C360B #556916 #7E9C21 #A7CE2B

Accessibility & contrast

On white

6.14
#556916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #556916
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556916#FFFFFF#000000##FFFFFF
##5569161.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706204
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#5A6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #556916;
/* rgb */ color: rgb(85, 105, 22);
/* oklch */ color: oklch(48.8% 0.108 122.6);
Tailwind
colors: {
  custom: {
    50: '#88945a',
    500: '#556916',
    950: '#000000',
  },
}
SCSS
$custom: #556916;
$custom-light: #88945a;
$custom-dark: #000000;
JSON
{
  "hex": "#556916",
  "rgb": {
    "r": 85,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 74.458,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48775,
    "c": 0.10808,
    "h": 122.6
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#556916
secondary
#533B9F
accent
#3FE868
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556916

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

Preview Lab → · Contrast checker → · Palette generator →

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