#556211#556211

#556211 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 46.9% C 0.102 H 118.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#556211
RGBrgb(85, 98, 17)
HSLhsl(70, 70%, 23%)
HSVhsv(70, 83%, 38%)
CMYKcmyk(13.3%, 0%, 82.7%, 61.6%)
CIE-LABlab(39.08, -16.35, 40.80)
CIE-LCHlch(39.08, 43.95, 111.85°)
OKLaboklab(46.93% -0.0491 0.0894)
OKLCHoklch(46.93% 0.102 118.8)
XYZxyz(8.2154, 10.7072, 2.1641)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556211 #1E1162
analogous
#624711 #556211 #2C6211
triadic
#556211 #115562 #621155
tetradic
#556211 #116247 #1E1162 #62112C
square
#556211 #116247 #1E1162 #62112C
split-complementary
#556211 #112C62 #471162
monochromatic
#171A05 #282E08 #556211 #82961A #AFCA23

Accessibility & contrast

On white

6.68
#556211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#556211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556211
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556211#FFFFFF#000000##FFFFFF
##5562111.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#685C19
Tritanopia (blue-blind)
#5B5C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #556211;
/* rgb */ color: rgb(85, 98, 17);
/* oklch */ color: oklch(46.9% 0.102 118.8);
Tailwind
colors: {
  custom: {
    50: '#888e57',
    500: '#556211',
    950: '#000000',
  },
}
SCSS
$custom: #556211;
$custom-light: #888e57;
$custom-dark: #000000;
JSON
{
  "hex": "#556211",
  "rgb": {
    "r": 85,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 69.63,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46927,
    "c": 0.10198,
    "h": 118.8
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#556211
secondary
#45349A
accent
#3BED57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #556211

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

Preview Lab → · Contrast checker → · Palette generator →

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