#557F20#557F20

#557F20 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.131 H 130.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#557F20
RGBrgb(85, 127, 32)
HSLhsl(87, 60%, 31%)
HSVhsv(87, 75%, 50%)
CMYKcmyk(33.1%, 0%, 74.8%, 50.2%)
CIE-LABlab(48.53, -30.15, 44.34)
CIE-LCHlch(48.53, 53.62, 124.22°)
OKLaboklab(54.61% -0.0855 0.0995)
OKLCHoklch(54.61% 0.131 130.7)
XYZxyz(11.5963, 17.2139, 4.0779)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557F20 #4A207F
analogous
#7F7920 #557F20 #267F20
triadic
#557F20 #20557F #7F2055
tetradic
#557F20 #207F79 #4A207F #7F2026
square
#557F20 #207F79 #4A207F #7F2026
split-complementary
#557F20 #20267F #79207F
monochromatic
#141D07 #344E14 #557F20 #76B02C #95D148

Accessibility & contrast

On white

4.73
#557F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#557F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557F20
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557F20#FFFFFF#000000##FFFFFF
##557F201.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750F
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#57796D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #557f20;
/* rgb */ color: rgb(85, 127, 32);
/* oklch */ color: oklch(54.6% 0.131 130.7);
Tailwind
colors: {
  custom: {
    50: '#89a462',
    500: '#557f20',
    950: '#000000',
  },
}
SCSS
$custom: #557f20;
$custom-light: #89a462;
$custom-dark: #000000;
JSON
{
  "hex": "#557f20",
  "rgb": {
    "r": 85,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 86.526,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.13116,
    "h": 130.7
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#557F20
secondary
#7749B2
accent
#45E38B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #557F20

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

Preview Lab → · Contrast checker → · Palette generator →

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