#556A22#556A22

#556A22 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.101 H 124.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#556A22
RGBrgb(85, 106, 34)
HSLhsl(78, 51%, 27%)
HSVhsv(78, 68%, 42%)
CMYKcmyk(19.8%, 0%, 67.9%, 58.4%)
CIE-LABlab(41.77, -19.55, 36.55)
CIE-LCHlch(41.77, 41.45, 118.14°)
OKLaboklab(49.14% -0.0562 0.0834)
OKLCHoklch(49.14% 0.101 124)
XYZxyz(9.1891, 12.3548, 3.4137)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556A22 #37226A
analogous
#6A5B22 #556A22 #316A22
triadic
#556A22 #22556A #6A2255
tetradic
#556A22 #226A5B #37226A #6A2231
square
#556A22 #226A5B #37226A #6A2231
split-complementary
#556A22 #22316A #5B226A
monochromatic
#131707 #303C13 #556A22 #7A9831 #9EC344

Accessibility & contrast

On white

6.05
#556A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#556A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556A22
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556A22#FFFFFF#000000##FFFFFF
##556A221.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706319
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#59655B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #556a22;
/* rgb */ color: rgb(85, 106, 34);
/* oklch */ color: oklch(49.1% 0.101 124.0);
Tailwind
colors: {
  custom: {
    50: '#879461',
    500: '#556a22',
    950: '#000000',
  },
}
SCSS
$custom: #556a22;
$custom-light: #879461;
$custom-dark: #000000;
JSON
{
  "hex": "#556a22",
  "rgb": {
    "r": 85,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 77.5,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49137,
    "c": 0.10059,
    "h": 124
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#556A22
secondary
#634A9E
accent
#4DDB76
background
#F8F9F5
surface
#F0F1EA
border
#CBCBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #556A22

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

Preview Lab → · Contrast checker → · Palette generator →

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