#57971C#57971C

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

Color values

HEX#57971C
RGBrgb(87, 151, 28)
HSLhsl(91, 69%, 35%)
HSVhsv(91, 81%, 59%)
CMYKcmyk(42.4%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.33, -40.33, 53.20)
CIE-LCHlch(56.33, 66.76, 127.17°)
OKLaboklab(61.01% -0.1134 0.1174)
OKLCHoklch(61.01% 0.163 134)
XYZxyz(15.2064, 24.2425, 4.9764)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57971C #5C1C97
analogous
#94971C #57971C #1C971F
triadic
#57971C #1C5797 #971C57
tetradic
#57971C #1C9497 #5C1C97 #971F1C
square
#57971C #1C9497 #5C1C97 #971F1C
split-complementary
#57971C #1F1C97 #971C94
monochromatic
#1C3009 #396312 #57971C #75CB26 #94DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57971C#FFFFFF#000000##000000
##57971C1.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: #57971c;
/* rgb */ color: rgb(87, 151, 28);
/* oklch */ color: oklch(61.0% 0.163 134.0);
Tailwind
colors: {
  custom: {
    50: '#8cb664',
    500: '#57971c',
    950: '#000000',
  },
}
SCSS
$custom: #57971c;
$custom-light: #8cb664;
$custom-dark: #000000;
JSON
{
  "hex": "#57971c",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 91.22,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61008,
    "c": 0.16321,
    "h": 134
  },
  "luminance": 0.24243
}

Semantic roles & 50–950 ramp

primary
#57971C
secondary
#8A4EC1
accent
#3CEC97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #57971C

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

Preview Lab → · Contrast checker → · Palette generator →

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