#556820#556820

#556820 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.6% C 0.099 H 122.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#556820
RGBrgb(85, 104, 32)
HSLhsl(76, 53%, 27%)
HSVhsv(76, 69%, 41%)
CMYKcmyk(18.3%, 0%, 69.2%, 59.2%)
CIE-LABlab(41.11, -18.65, 36.76)
CIE-LCHlch(41.11, 41.22, 116.89°)
OKLaboklab(48.6% -0.0539 0.0836)
OKLCHoklch(48.6% 0.099 122.8)
XYZxyz(8.9574, 11.9362, 3.1982)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556820 #332068
analogous
#685720 #556820 #316820
triadic
#556820 #205568 #682055
tetradic
#556820 #206857 #332068 #682031
square
#556820 #206857 #332068 #682031
split-complementary
#556820 #203168 #572068
monochromatic
#131707 #2F3912 #556820 #7B972E #A1C43F

Accessibility & contrast

On white

6.20
#556820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#556820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556820
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556820#FFFFFF#000000##FFFFFF
##5568201.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6116
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#596359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #556820;
/* rgb */ color: rgb(85, 104, 32);
/* oklch */ color: oklch(48.6% 0.099 122.8);
Tailwind
colors: {
  custom: {
    50: '#879360',
    500: '#556820',
    950: '#000000',
  },
}
SCSS
$custom: #556820;
$custom-light: #879360;
$custom-dark: #000000;
JSON
{
  "hex": "#556820",
  "rgb": {
    "r": 85,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 75.833,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.09947,
    "h": 122.8
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#556820
secondary
#5E489C
accent
#4BDC72
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #556820

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

Preview Lab → · Contrast checker → · Palette generator →

#556820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva