#556918#556918

#556918 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.107 H 122.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#556918
RGBrgb(85, 105, 24)
HSLhsl(75, 63%, 25%)
HSVhsv(75, 77%, 41%)
CMYKcmyk(19%, 0%, 77.1%, 58.8%)
CIE-LABlab(41.38, -19.72, 40.40)
CIE-LCHlch(41.38, 44.96, 116.02°)
OKLaboklab(48.79% -0.0577 0.0899)
OKLCHoklch(48.79% 0.107 122.7)
XYZxyz(8.9629, 12.1004, 2.7274)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556918 #2C1869
analogous
#695418 #556918 #2C6918
triadic
#556918 #185569 #691855
tetradic
#556918 #186954 #2C1869 #69182C
square
#556918 #186954 #2C1869 #69182C
split-complementary
#556918 #182C69 #541869
monochromatic
#141906 #2D370D #556918 #7D9B23 #A6CD2F

Accessibility & contrast

On white

6.14
#556918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#556918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556918
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556918#FFFFFF#000000##FFFFFF
##5569181.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706208
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#5A6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #556918;
/* rgb */ color: rgb(85, 105, 24);
/* oklch */ color: oklch(48.8% 0.107 122.7);
Tailwind
colors: {
  custom: {
    50: '#88945b',
    500: '#556918',
    950: '#000000',
  },
}
SCSS
$custom: #556918;
$custom-light: #88945b;
$custom-dark: #000000;
JSON
{
  "hex": "#556918",
  "rgb": {
    "r": 85,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 74.815,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.1068,
    "h": 122.7
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#556918
secondary
#563E9F
accent
#42E66A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556918

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

Preview Lab → · Contrast checker → · Palette generator →

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