#556115#556115

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

Color values

HEX#556115
RGBrgb(85, 97, 21)
HSLhsl(69, 64%, 23%)
HSVhsv(69, 78%, 38%)
CMYKcmyk(12.4%, 0%, 78.4%, 62%)
CIE-LABlab(38.79, -15.60, 39.07)
CIE-LCHlch(38.79, 42.07, 111.77°)
OKLaboklab(46.7% -0.0466 0.0865)
OKLCHoklch(46.7% 0.098 118.3)
XYZxyz(8.1565, 10.5349, 2.3131)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556115 #211561
analogous
#614715 #556115 #2F6115
triadic
#556115 #155561 #611555
tetradic
#556115 #156147 #211561 #61152F
square
#556115 #156147 #211561 #61152F
split-complementary
#556115 #152F61 #471561
monochromatic
#161905 #292F0A #556115 #819320 #ADC62B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##556115#FFFFFF#000000##FFFFFF
##5561151.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)
#685B06
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#5B5B52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #556115;
/* rgb */ color: rgb(85, 97, 21);
/* oklch */ color: oklch(46.7% 0.098 118.3);
Tailwind
colors: {
  custom: {
    50: '#878d59',
    500: '#556115',
    950: '#000000',
  },
}
SCSS
$custom: #556115;
$custom-light: #878d59;
$custom-dark: #000000;
JSON
{
  "hex": "#556115",
  "rgb": {
    "r": 85,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 69.474,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.09827,
    "h": 118.3
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#556115
secondary
#493A98
accent
#40E75B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556115

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

Preview Lab → · Contrast checker → · Palette generator →

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