#556117#556117

#556117 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.7% C 0.097 H 118.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#556117
RGBrgb(85, 97, 23)
HSLhsl(70, 62%, 24%)
HSVhsv(70, 76%, 38%)
CMYKcmyk(12.4%, 0%, 76.3%, 62%)
CIE-LABlab(38.80, -15.49, 38.29)
CIE-LCHlch(38.80, 41.30, 112.02°)
OKLaboklab(46.71% -0.0461 0.0853)
OKLCHoklch(46.71% 0.097 118.4)
XYZxyz(8.1758, 10.5426, 2.4147)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556117 #231761
analogous
#614817 #556117 #306117
triadic
#556117 #175561 #611755
tetradic
#556117 #176148 #231761 #611730
square
#556117 #176148 #231761 #611730
split-complementary
#556117 #173061 #481761
monochromatic
#161906 #2A300B #556117 #809223 #ACC42E

Accessibility & contrast

On white

6.76
#556117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#556117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556117
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556117#FFFFFF#000000##FFFFFF
##5561171.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0A
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#5A5B53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #556117;
/* rgb */ color: rgb(85, 97, 23);
/* oklch */ color: oklch(46.7% 0.097 118.4);
Tailwind
colors: {
  custom: {
    50: '#878d5a',
    500: '#556117',
    950: '#000000',
  },
}
SCSS
$custom: #556117;
$custom-light: #878d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#556117",
  "rgb": {
    "r": 85,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 69.73,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46711,
    "c": 0.09692,
    "h": 118.4
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#556117
secondary
#4B3C98
accent
#43E55D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556117

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

Preview Lab → · Contrast checker → · Palette generator →

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