#556D18#556D18

#556D18 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.112 H 124.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#556D18
RGBrgb(85, 109, 24)
HSLhsl(77, 64%, 26%)
HSVhsv(77, 78%, 43%)
CMYKcmyk(22%, 0%, 78%, 57.3%)
CIE-LABlab(42.66, -21.80, 41.65)
CIE-LCHlch(42.66, 47.01, 117.63°)
OKLaboklab(49.83% -0.0634 0.0925)
OKLCHoklch(49.83% 0.112 124.4)
XYZxyz(9.3799, 12.9344, 2.8664)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556D18 #30186D
analogous
#6D5A18 #556D18 #2A6D18
triadic
#556D18 #18556D #6D1855
tetradic
#556D18 #186D5A #30186D #6D182A
square
#556D18 #186D5A #30186D #6D182A
split-complementary
#556D18 #182A6D #5A186D
monochromatic
#141906 #2E3B0D #556D18 #7C9F23 #A3D12E

Accessibility & contrast

On white

5.85
#556D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#556D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556D18
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556D18#FFFFFF#000000##FFFFFF
##556D181.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736606
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#59675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #556d18;
/* rgb */ color: rgb(85, 109, 24);
/* oklch */ color: oklch(49.8% 0.112 124.4);
Tailwind
colors: {
  custom: {
    50: '#88975c',
    500: '#556d18',
    950: '#000000',
  },
}
SCSS
$custom: #556d18;
$custom-light: #88975c;
$custom-dark: #000000;
JSON
{
  "hex": "#556d18",
  "rgb": {
    "r": 85,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 76.941,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49832,
    "c": 0.11214,
    "h": 124.4
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#556D18
secondary
#5B3EA3
accent
#41E770
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556D18

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

Preview Lab → · Contrast checker → · Palette generator →

#556D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva