#556017#556017

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

Color values

HEX#556017
RGBrgb(85, 96, 23)
HSLhsl(69, 61%, 23%)
HSVhsv(69, 76%, 38%)
CMYKcmyk(11.5%, 0%, 76%, 62.4%)
CIE-LABlab(38.48, -14.94, 37.98)
CIE-LCHlch(38.48, 40.81, 111.47°)
OKLaboklab(46.45% -0.0446 0.0846)
OKLCHoklch(46.45% 0.096 117.8)
XYZxyz(8.0840, 10.3590, 2.3841)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556017 #221760
analogous
#604617 #556017 #306017
triadic
#556017 #175560 #601755
tetradic
#556017 #176046 #221760 #601730
square
#556017 #176046 #221760 #601730
split-complementary
#556017 #173060 #461760
monochromatic
#161906 #292F0B #556017 #819123 #ACC32F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##556017#FFFFFF#000000##FFFFFF
##5560171.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)
#675A0A
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#5B5A52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #556017;
/* rgb */ color: rgb(85, 96, 23);
/* oklch */ color: oklch(46.5% 0.096 117.8);
Tailwind
colors: {
  custom: {
    50: '#878d5a',
    500: '#556017',
    950: '#000000',
  },
}
SCSS
$custom: #556017;
$custom-light: #878d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#556017",
  "rgb": {
    "r": 85,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 69.041,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.09562,
    "h": 117.8
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#556017
secondary
#4A3C97
accent
#43E45C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556017

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

Preview Lab → · Contrast checker → · Palette generator →

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