#57971A#57971A

#57971A 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#57971A
RGBrgb(87, 151, 26)
HSLhsl(91, 71%, 35%)
HSVhsv(91, 83%, 59%)
CMYKcmyk(42.4%, 0%, 82.8%, 40.8%)
CIE-LABlab(56.32, -40.43, 53.77)
CIE-LCHlch(56.32, 67.28, 126.94°)
OKLaboklab(61% -0.1138 0.1183)
OKLCHoklch(61% 0.164 133.9)
XYZxyz(15.1833, 24.2332, 4.8545)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57971A #5A1A97
analogous
#96971A #57971A #1A971C
triadic
#57971A #1A5797 #971A57
tetradic
#57971A #1A9697 #5A1A97 #971C1A
square
#57971A #1A9697 #5A1A97 #971C1A
split-complementary
#57971A #1C1A97 #971A96
monochromatic
#1B2F08 #396311 #57971A #75CB23 #94E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57971A#FFFFFF#000000##000000
##57971A1.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)
#958529
Tritanopia (blue-blind)
#569180
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #57971a;
/* rgb */ color: rgb(87, 151, 26);
/* oklch */ color: oklch(61.0% 0.164 133.9);
Tailwind
colors: {
  custom: {
    50: '#8db663',
    500: '#57971a',
    950: '#000000',
  },
}
SCSS
$custom: #57971a;
$custom-light: #8db663;
$custom-dark: #000000;
JSON
{
  "hex": "#57971a",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 90.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.16412,
    "h": 133.9
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#57971A
secondary
#884BC2
accent
#3AED96
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #57971A

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

Preview Lab → · Contrast checker → · Palette generator →

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