#577F1F#577F1F

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

Color values

HEX#577F1F
RGBrgb(87, 127, 31)
HSLhsl(85, 61%, 31%)
HSVhsv(85, 76%, 50%)
CMYKcmyk(31.5%, 0%, 75.6%, 50.2%)
CIE-LABlab(48.64, -29.42, 44.87)
CIE-LCHlch(48.64, 53.66, 123.25°)
OKLaboklab(54.73% -0.0837 0.1004)
OKLCHoklch(54.73% 0.131 129.8)
XYZxyz(11.7671, 17.3036, 4.0160)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#577F1F #471F7F
analogous
#7F771F #577F1F #277F1F
triadic
#577F1F #1F577F #7F1F57
tetradic
#577F1F #1F7F77 #471F7F #7F1F27
square
#577F1F #1F7F77 #471F7F #7F1F27
split-complementary
#577F1F #1F277F #771F7F
monochromatic
#141D07 #354E13 #577F1F #79B02B #98D246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##577F1F#FFFFFF#000000##FFFFFF
##577F1F1.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)
#85750C
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#59796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #577f1f;
/* rgb */ color: rgb(87, 127, 31);
/* oklch */ color: oklch(54.7% 0.131 129.8);
Tailwind
colors: {
  custom: {
    50: '#8aa462',
    500: '#577f1f',
    950: '#000000',
  },
}
SCSS
$custom: #577f1f;
$custom-light: #8aa462;
$custom-dark: #000000;
JSON
{
  "hex": "#577f1f",
  "rgb": {
    "r": 87,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 85,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.13071,
    "h": 129.8
  },
  "luminance": 0.17304
}

Semantic roles & 50–950 ramp

primary
#577F1F
secondary
#7448B2
accent
#44E487
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #577F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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