#556012#556012

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

Color values

HEX#556012
RGBrgb(85, 96, 18)
HSLhsl(68, 68%, 22%)
HSVhsv(68, 81%, 38%)
CMYKcmyk(11.5%, 0%, 81.3%, 62.4%)
CIE-LABlab(38.45, -15.21, 39.86)
CIE-LCHlch(38.45, 42.67, 110.89°)
OKLaboklab(46.42% -0.0458 0.0876)
OKLCHoklch(46.42% 0.099 117.6)
XYZxyz(8.0386, 10.3408, 2.1447)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556012 #1D1260
analogous
#604412 #556012 #2E6012
triadic
#556012 #125560 #601255
tetradic
#556012 #126044 #1D1260 #60122E
square
#556012 #126044 #1D1260 #60122E
split-complementary
#556012 #122E60 #441260
monochromatic
#171A05 #272C08 #556012 #83941C #B0C725

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##556012#FFFFFF#000000##FFFFFF
##5560121.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)
#675A01
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#5B5A51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #556012;
/* rgb */ color: rgb(85, 96, 18);
/* oklch */ color: oklch(46.4% 0.099 117.6);
Tailwind
colors: {
  custom: {
    50: '#888d57',
    500: '#556012',
    950: '#000000',
  },
}
SCSS
$custom: #556012;
$custom-light: #888d57;
$custom-dark: #000000;
JSON
{
  "hex": "#556012",
  "rgb": {
    "r": 85,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 68.462,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.09887,
    "h": 117.6
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#556012
secondary
#443698
accent
#3DEB55
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #556012

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

Preview Lab → · Contrast checker → · Palette generator →

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