#556016#556016

#556016 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.4% C 0.096 H 117.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#556016
RGBrgb(85, 96, 22)
HSLhsl(69, 63%, 23%)
HSVhsv(69, 77%, 38%)
CMYKcmyk(11.5%, 0%, 77.1%, 62.4%)
CIE-LABlab(38.47, -15.00, 38.37)
CIE-LCHlch(38.47, 41.20, 111.34°)
OKLaboklab(46.45% -0.0448 0.0852)
OKLCHoklch(46.45% 0.096 117.7)
XYZxyz(8.0742, 10.3550, 2.3323)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556016 #211660
analogous
#604616 #556016 #306016
triadic
#556016 #165560 #601655
tetradic
#556016 #166046 #211660 #601630
square
#556016 #166046 #211660 #601630
split-complementary
#556016 #163060 #461660
monochromatic
#161906 #292E0B #556016 #819221 #ADC42D

Accessibility & contrast

On white

6.84
#556016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#556016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556016
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556016#FFFFFF#000000##FFFFFF
##5560161.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A08
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#5B5A52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #556016;
/* rgb */ color: rgb(85, 96, 22);
/* oklch */ color: oklch(46.4% 0.096 117.7);
Tailwind
colors: {
  custom: {
    50: '#878d59',
    500: '#556016',
    950: '#000000',
  },
}
SCSS
$custom: #556016;
$custom-light: #878d59;
$custom-dark: #000000;
JSON
{
  "hex": "#556016",
  "rgb": {
    "r": 85,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 68.919,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.09631,
    "h": 117.7
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#556016
secondary
#493B97
accent
#42E65A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556016

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

Preview Lab → · Contrast checker → · Palette generator →

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