#557A28#557A28

#557A28 is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.4% C 0.118 H 130.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#557A28
RGBrgb(85, 122, 40)
HSLhsl(87, 51%, 32%)
HSVhsv(87, 67%, 48%)
CMYKcmyk(30.3%, 0%, 67.2%, 52.2%)
CIE-LABlab(46.98, -27.14, 39.38)
CIE-LCHlch(46.98, 47.82, 124.58°)
OKLaboklab(53.37% -0.0766 0.0903)
OKLCHoklch(53.37% 0.118 130.3)
XYZxyz(11.0888, 16.0032, 4.5118)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557A28 #4D287A
analogous
#7A7628 #557A28 #2C7A28
triadic
#557A28 #28557A #7A2855
tetradic
#557A28 #287A76 #4D287A #7A282C
square
#557A28 #287A76 #4D287A #7A282C
split-complementary
#557A28 #282C7A #76287A
monochromatic
#151E0A #354C19 #557A28 #75A837 #94C755

Accessibility & contrast

On white

5.00
#557A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#557A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557A28
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557A28#FFFFFF#000000##FFFFFF
##557A281.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711D
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#577569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #557a28;
/* rgb */ color: rgb(85, 122, 40);
/* oklch */ color: oklch(53.4% 0.118 130.3);
Tailwind
colors: {
  custom: {
    50: '#88a066',
    500: '#557a28',
    950: '#000000',
  },
}
SCSS
$custom: #557a28;
$custom-light: #88a066;
$custom-dark: #000000;
JSON
{
  "hex": "#557a28",
  "rgb": {
    "r": 85,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 87.073,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5337,
    "c": 0.11836,
    "h": 130.3
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#557A28
secondary
#7B52AC
accent
#4EDA8D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F06
muted
#7D7E7A

Preview Lab

Preview with #557A28

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

Preview Lab → · Contrast checker → · Palette generator →

#557A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva