#556818#556818

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

Color values

HEX#556818
RGBrgb(85, 104, 24)
HSLhsl(74, 63%, 25%)
HSVhsv(74, 77%, 41%)
CMYKcmyk(18.3%, 0%, 76.9%, 59.2%)
CIE-LABlab(41.05, -19.20, 40.09)
CIE-LCHlch(41.05, 44.45, 115.59°)
OKLaboklab(48.53% -0.0562 0.0892)
OKLCHoklch(48.53% 0.105 122.2)
XYZxyz(8.8616, 11.8978, 2.6936)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556818 #2B1868
analogous
#685318 #556818 #2D6818
triadic
#556818 #185568 #681855
tetradic
#556818 #186853 #2B1868 #68182D
square
#556818 #186853 #2B1868 #68182D
split-complementary
#556818 #182D68 #531868
monochromatic
#141906 #2C360D #556818 #7E9A23 #A6CB2F

Accessibility & contrast

On white

6.21
#556818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #556818
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556818#FFFFFF#000000##FFFFFF
##5568181.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6109
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#5A6259
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #556818;
/* rgb */ color: rgb(85, 104, 24);
/* oklch */ color: oklch(48.5% 0.105 122.2);
Tailwind
colors: {
  custom: {
    50: '#88935b',
    500: '#556818',
    950: '#000000',
  },
}
SCSS
$custom: #556818;
$custom-light: #88935b;
$custom-dark: #000000;
JSON
{
  "hex": "#556818",
  "rgb": {
    "r": 85,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 74.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.10547,
    "h": 122.2
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#556818
secondary
#553E9E
accent
#42E669
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556818

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

Preview Lab → · Contrast checker → · Palette generator →

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