#556A18#556A18

#556A18 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.108 H 123.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#556A18
RGBrgb(85, 106, 24)
HSLhsl(75, 63%, 25%)
HSVhsv(75, 77%, 42%)
CMYKcmyk(19.8%, 0%, 77.4%, 58.4%)
CIE-LABlab(41.70, -20.25, 40.72)
CIE-LCHlch(41.70, 45.47, 116.44°)
OKLaboklab(49.05% -0.0591 0.0905)
OKLCHoklch(49.05% 0.108 123.1)
XYZxyz(9.0653, 12.3053, 2.7615)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556A18 #2D186A
analogous
#6A5618 #556A18 #2C6A18
triadic
#556A18 #18556A #6A1855
tetradic
#556A18 #186A56 #2D186A #6A182C
square
#556A18 #186A56 #2D186A #6A182C
split-complementary
#556A18 #182C6A #56186A
monochromatic
#141906 #2D380D #556A18 #7D9C23 #A5CE2F

Accessibility & contrast

On white

6.07
#556A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#556A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556A18
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556A18#FFFFFF#000000##FFFFFF
##556A181.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716308
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#5A645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #556a18;
/* rgb */ color: rgb(85, 106, 24);
/* oklch */ color: oklch(49.0% 0.108 123.1);
Tailwind
colors: {
  custom: {
    50: '#88945c',
    500: '#556a18',
    950: '#000000',
  },
}
SCSS
$custom: #556a18;
$custom-light: #88945c;
$custom-dark: #000000;
JSON
{
  "hex": "#556a18",
  "rgb": {
    "r": 85,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 75.366,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.10813,
    "h": 123.1
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#556A18
secondary
#573EA0
accent
#42E66C
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556A18

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

Preview Lab → · Contrast checker → · Palette generator →

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