#556B28#556B28

#556B28 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.5% C 0.097 H 125.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#556B28
RGBrgb(85, 107, 40)
HSLhsl(80, 46%, 29%)
HSVhsv(80, 63%, 42%)
CMYKcmyk(20.6%, 0%, 62.6%, 58%)
CIE-LABlab(42.15, -19.55, 34.09)
CIE-LCHlch(42.15, 39.29, 119.83°)
OKLaboklab(49.46% -0.0556 0.0791)
OKLCHoklch(49.46% 0.097 125.1)
XYZxyz(9.3870, 12.5998, 3.9445)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556B28 #3E286B
analogous
#6B6028 #556B28 #346B28
triadic
#556B28 #28556B #6B2855
tetradic
#556B28 #286B60 #3E286B #6B2834
square
#556B28 #286B60 #3E286B #6B2834
split-complementary
#556B28 #28346B #60286B
monochromatic
#121608 #323E17 #556B28 #789839 #9ABE50

Accessibility & contrast

On white

5.97
#556B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#556B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556B28
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556B28#FFFFFF#000000##FFFFFF
##556B281.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716421
Deuteranopia (green-blind)
#6E632D
Tritanopia (blue-blind)
#59665D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #556b28;
/* rgb */ color: rgb(85, 107, 40);
/* oklch */ color: oklch(49.5% 0.097 125.1);
Tailwind
colors: {
  custom: {
    50: '#879565',
    500: '#556b28',
    950: '#000000',
  },
}
SCSS
$custom: #556b28;
$custom-light: #879565;
$custom-dark: #000000;
JSON
{
  "hex": "#556b28",
  "rgb": {
    "r": 85,
    "g": 107,
    "b": 40
  },
  "hsl": {
    "h": 79.701,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49462,
    "c": 0.09664,
    "h": 125.1
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#556B28
secondary
#6A519D
accent
#53D57D
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #556B28

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

Preview Lab → · Contrast checker → · Palette generator →

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