#556B22#556B22

#556B22 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.4% C 0.102 H 124.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#556B22
RGBrgb(85, 107, 34)
HSLhsl(78, 52%, 28%)
HSVhsv(78, 68%, 42%)
CMYKcmyk(20.6%, 0%, 68.2%, 58%)
CIE-LABlab(42.10, -20.07, 36.89)
CIE-LCHlch(42.10, 42.00, 118.55°)
OKLaboklab(49.4% -0.0577 0.0842)
OKLCHoklch(49.4% 0.102 124.4)
XYZxyz(9.2928, 12.5621, 3.4482)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556B22 #38226B
analogous
#6B5C22 #556B22 #316B22
triadic
#556B22 #22556B #6B2255
tetradic
#556B22 #226B5C #38226B #6B2231
square
#556B22 #226B5C #38226B #6B2231
split-complementary
#556B22 #22316B #5C226B
monochromatic
#121707 #303D13 #556B22 #7A9931 #9DC444

Accessibility & contrast

On white

5.98
#556B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#556B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556B22
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556B22#FFFFFF#000000##FFFFFF
##556B221.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#59665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #556b22;
/* rgb */ color: rgb(85, 107, 34);
/* oklch */ color: oklch(49.4% 0.102 124.4);
Tailwind
colors: {
  custom: {
    50: '#879561',
    500: '#556b22',
    950: '#000000',
  },
}
SCSS
$custom: #556b22;
$custom-light: #879561;
$custom-dark: #000000;
JSON
{
  "hex": "#556b22",
  "rgb": {
    "r": 85,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 78.082,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.10201,
    "h": 124.4
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#556B22
secondary
#644A9F
accent
#4DDB78
background
#F8F9F5
surface
#F0F1EA
border
#CBCBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #556B22

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

Preview Lab → · Contrast checker → · Palette generator →

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