#556815#556815

#556815 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.5% C 0.107 H 122.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#556815
RGBrgb(85, 104, 21)
HSLhsl(74, 66%, 25%)
HSVhsv(74, 80%, 41%)
CMYKcmyk(18.3%, 0%, 79.8%, 59.2%)
CIE-LABlab(41.03, -19.37, 41.20)
CIE-LCHlch(41.03, 45.53, 115.18°)
OKLaboklab(48.51% -0.057 0.091)
OKLCHoklch(48.51% 0.107 122.1)
XYZxyz(8.8321, 11.8860, 2.5383)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556815 #281568
analogous
#685215 #556815 #2C6815
triadic
#556815 #155568 #681555
tetradic
#556815 #156852 #281568 #68152C
square
#556815 #156852 #281568 #68152C
split-complementary
#556815 #152C68 #521568
monochromatic
#151905 #2B350B #556815 #7F9B1F #A8CE2A

Accessibility & contrast

On white

6.22
#556815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#556815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556815
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556815#FFFFFF#000000##FFFFFF
##5568151.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#5A6258
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #556815;
/* rgb */ color: rgb(85, 104, 21);
/* oklch */ color: oklch(48.5% 0.107 122.1);
Tailwind
colors: {
  custom: {
    50: '#88935a',
    500: '#556815',
    950: '#000000',
  },
}
SCSS
$custom: #556815;
$custom-light: #88935a;
$custom-dark: #000000;
JSON
{
  "hex": "#556815",
  "rgb": {
    "r": 85,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 73.735,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48508,
    "c": 0.10738,
    "h": 122.1
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#556815
secondary
#513A9F
accent
#3EE966
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556815

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

Preview Lab → · Contrast checker → · Palette generator →

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