#556718#556718

#556718 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.3% C 0.104 H 121.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#556718
RGBrgb(85, 103, 24)
HSLhsl(74, 62%, 25%)
HSVhsv(74, 77%, 40%)
CMYKcmyk(17.5%, 0%, 76.7%, 59.6%)
CIE-LABlab(40.73, -18.67, 39.78)
CIE-LCHlch(40.73, 43.94, 115.14°)
OKLaboklab(48.27% -0.0548 0.0886)
OKLCHoklch(48.27% 0.104 121.7)
XYZxyz(8.7616, 11.6977, 2.6603)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556718 #2A1867
analogous
#675218 #556718 #2D6718
triadic
#556718 #185567 #671855
tetradic
#556718 #186752 #2A1867 #67182D
square
#556718 #186752 #2A1867 #67182D
split-complementary
#556718 #182D67 #521867
monochromatic
#141906 #2C350C #556718 #7E9924 #A7CA2F

Accessibility & contrast

On white

6.29
#556718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#556718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556718
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556718#FFFFFF#000000##FFFFFF
##5567181.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6009
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#5A6158
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #556718;
/* rgb */ color: rgb(85, 103, 24);
/* oklch */ color: oklch(48.3% 0.104 121.7);
Tailwind
colors: {
  custom: {
    50: '#87925b',
    500: '#556718',
    950: '#000000',
  },
}
SCSS
$custom: #556718;
$custom-light: #87925b;
$custom-dark: #000000;
JSON
{
  "hex": "#556718",
  "rgb": {
    "r": 85,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 73.671,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.10414,
    "h": 121.7
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#556718
secondary
#533E9D
accent
#43E568
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #556718

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

Preview Lab → · Contrast checker → · Palette generator →

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