#556210#556210

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

Color values

HEX#556210
RGBrgb(85, 98, 16)
HSLhsl(70, 72%, 22%)
HSVhsv(70, 84%, 38%)
CMYKcmyk(13.3%, 0%, 83.7%, 61.6%)
CIE-LABlab(39.08, -16.40, 41.12)
CIE-LCHlch(39.08, 44.27, 111.74°)
OKLaboklab(46.92% -0.0493 0.0899)
OKLCHoklch(46.92% 0.103 118.7)
XYZxyz(8.2077, 10.7041, 2.1238)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556210 #1D1062
analogous
#624610 #556210 #2C6210
triadic
#556210 #105562 #621055
tetradic
#556210 #106246 #1D1062 #62102C
square
#556210 #106246 #1D1062 #62102C
split-complementary
#556210 #102C62 #461062
monochromatic
#171A04 #272D07 #556210 #839719 #B0CB21

Accessibility & contrast

On white

6.69
#556210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #556210
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556210#FFFFFF#000000##FFFFFF
##5562101.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #556210;
/* rgb */ color: rgb(85, 98, 16);
/* oklch */ color: oklch(46.9% 0.103 118.7);
Tailwind
colors: {
  custom: {
    50: '#888e57',
    500: '#556210',
    950: '#000000',
  },
}
SCSS
$custom: #556210;
$custom-light: #888e57;
$custom-dark: #000000;
JSON
{
  "hex": "#556210",
  "rgb": {
    "r": 85,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 69.512,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46921,
    "c": 0.10252,
    "h": 118.7
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#556210
secondary
#44339B
accent
#39EF56
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #556210

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

Preview Lab → · Contrast checker → · Palette generator →

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