#577F21#577F21

#577F21 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.129 H 130.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#577F21
RGBrgb(87, 127, 33)
HSLhsl(86, 59%, 31%)
HSVhsv(86, 74%, 50%)
CMYKcmyk(31.5%, 0%, 74%, 50.2%)
CIE-LABlab(48.65, -29.29, 44.12)
CIE-LCHlch(48.65, 52.95, 123.58°)
OKLaboklab(54.75% -0.0832 0.0991)
OKLCHoklch(54.75% 0.129 130)
XYZxyz(11.7943, 17.3144, 4.1592)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#577F21 #49217F
analogous
#7F7821 #577F21 #287F21
triadic
#577F21 #21577F #7F2157
tetradic
#577F21 #217F78 #49217F #7F2128
square
#577F21 #217F78 #49217F #7F2128
split-complementary
#577F21 #21287F #78217F
monochromatic
#141E08 #364E14 #577F21 #78B02E #97D04A

Accessibility & contrast

On white

4.71
#577F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#577F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #577F21
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##577F21#FFFFFF#000000##FFFFFF
##577F211.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857511
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#59796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #577f21;
/* rgb */ color: rgb(87, 127, 33);
/* oklch */ color: oklch(54.7% 0.129 130.0);
Tailwind
colors: {
  custom: {
    50: '#8aa463',
    500: '#577f21',
    950: '#000000',
  },
}
SCSS
$custom: #577f21;
$custom-light: #8aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#577f21",
  "rgb": {
    "r": 87,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 85.532,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.1294,
    "h": 130
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#577F21
secondary
#764AB2
accent
#46E288
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #577F21

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

Preview Lab → · Contrast checker → · Palette generator →

#577F21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva