#556E18#556E18

#556E18 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.1% C 0.113 H 124.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#556E18
RGBrgb(85, 110, 24)
HSLhsl(77, 64%, 26%)
HSVhsv(77, 78%, 43%)
CMYKcmyk(22.7%, 0%, 78.2%, 56.9%)
CIE-LABlab(42.99, -22.32, 41.96)
CIE-LCHlch(42.99, 47.52, 118.01°)
OKLaboklab(50.09% -0.0648 0.0932)
OKLCHoklch(50.09% 0.113 124.8)
XYZxyz(9.4872, 13.1490, 2.9022)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556E18 #31186E
analogous
#6E5C18 #556E18 #2A6E18
triadic
#556E18 #18556E #6E1855
tetradic
#556E18 #186E5C #31186E #6E182A
square
#556E18 #186E5C #31186E #6E182A
split-complementary
#556E18 #182A6E #5C186E
monochromatic
#131905 #2E3C0D #556E18 #7CA023 #A2D22F

Accessibility & contrast

On white

5.79
#556E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#556E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556E18
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556E18#FFFFFF#000000##FFFFFF
##556E181.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#59685E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #556e18;
/* rgb */ color: rgb(85, 110, 24);
/* oklch */ color: oklch(50.1% 0.113 124.8);
Tailwind
colors: {
  custom: {
    50: '#88975c',
    500: '#556e18',
    950: '#000000',
  },
}
SCSS
$custom: #556e18;
$custom-light: #88975c;
$custom-dark: #000000;
JSON
{
  "hex": "#556e18",
  "rgb": {
    "r": 85,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 77.442,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.11347,
    "h": 124.8
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#556E18
secondary
#5C3EA4
accent
#41E771
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556E18

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

Preview Lab → · Contrast checker → · Palette generator →

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