#57971B#57971B

#57971B is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.0% C 0.164 H 133.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#57971B
RGBrgb(87, 151, 27)
HSLhsl(91, 70%, 35%)
HSVhsv(91, 82%, 59%)
CMYKcmyk(42.4%, 0%, 82.1%, 40.8%)
CIE-LABlab(56.33, -40.38, 53.49)
CIE-LCHlch(56.33, 67.02, 127.05°)
OKLaboklab(61% -0.1136 0.1178)
OKLCHoklch(61% 0.164 133.9)
XYZxyz(15.1946, 24.2378, 4.9144)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57971B #5B1B97
analogous
#95971B #57971B #1B971D
triadic
#57971B #1B5797 #971B57
tetradic
#57971B #1B9597 #5B1B97 #971D1B
square
#57971B #1B9597 #5B1B97 #971D1B
split-complementary
#57971B #1D1B97 #971B95
monochromatic
#1B2F08 #396312 #57971B #75CB24 #94DF4D

Accessibility & contrast

On white

3.59
#57971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#57971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57971B
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57971B#FFFFFF#000000##000000
##57971B1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#569181
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #57971b;
/* rgb */ color: rgb(87, 151, 27);
/* oklch */ color: oklch(61.0% 0.164 133.9);
Tailwind
colors: {
  custom: {
    50: '#8cb663',
    500: '#57971b',
    950: '#000000',
  },
}
SCSS
$custom: #57971b;
$custom-light: #8cb663;
$custom-dark: #000000;
JSON
{
  "hex": "#57971b",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 90.968,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61002,
    "c": 0.16367,
    "h": 133.9
  },
  "luminance": 0.24239
}

Semantic roles & 50–950 ramp

primary
#57971B
secondary
#894CC1
accent
#3BEC97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #57971B

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

Preview Lab → · Contrast checker → · Palette generator →

#57971B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva