#556318#556318

#556318 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.2% C 0.099 H 119.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#556318
RGBrgb(85, 99, 24)
HSLhsl(71, 61%, 24%)
HSVhsv(71, 76%, 39%)
CMYKcmyk(14.1%, 0%, 75.8%, 61.2%)
CIE-LABlab(39.45, -16.52, 38.52)
CIE-LCHlch(39.45, 41.91, 113.21°)
OKLaboklab(47.23% -0.0488 0.0859)
OKLCHoklch(47.23% 0.099 119.6)
XYZxyz(8.3732, 10.9210, 2.5308)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556318 #261863
analogous
#634C18 #556318 #306318
triadic
#556318 #185563 #631855
tetradic
#556318 #18634C #261863 #631830
square
#556318 #18634C #261863 #631830
split-complementary
#556318 #183063 #4C1863
monochromatic
#151906 #2B320C #556318 #7F9424 #AAC630

Accessibility & contrast

On white

6.60
#556318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#556318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556318
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556318#FFFFFF#000000##FFFFFF
##5563181.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0B
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#5A5D54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #556318;
/* rgb */ color: rgb(85, 99, 24);
/* oklch */ color: oklch(47.2% 0.099 119.6);
Tailwind
colors: {
  custom: {
    50: '#878f5b',
    500: '#556318',
    950: '#000000',
  },
}
SCSS
$custom: #556318;
$custom-light: #878f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#556318",
  "rgb": {
    "r": 85,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 71.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.09884,
    "h": 119.6
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

primary
#556318
secondary
#4F3E99
accent
#44E462
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556318

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

Preview Lab → · Contrast checker → · Palette generator →

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