#57B31F#57B31F

#57B31F is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 68.3% C 0.195 H 137.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#57B31F
RGBrgb(87, 179, 31)
HSLhsl(97, 70%, 41%)
HSVhsv(97, 83%, 70%)
CMYKcmyk(51.4%, 0%, 82.7%, 29.8%)
CIE-LABlab(65.25, -51.36, 60.51)
CIE-LCHlch(65.25, 79.36, 130.32°)
OKLaboklab(68.34% -0.1428 0.1332)
OKLCHoklch(68.34% 0.195 137)
XYZxyz(20.2973, 34.3639, 6.8594)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57B31F #7B1FB3
analogous
#A1B31F #57B31F #1FB331
triadic
#57B31F #1F57B3 #B31F57
tetradic
#57B31F #1FA1B3 #7B1FB3 #B3311F
square
#57B31F #1FA1B3 #7B1FB3 #B3311F
split-complementary
#57B31F #311FB3 #B31FA1
monochromatic
#244B0D #3E7F16 #57B31F #73DC33 #97E568

Accessibility & contrast

On white

2.67
#57B31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#57B31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #57B31F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57B31F#FFFFFF#000000##000000
##57B31F1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9C32
Tritanopia (blue-blind)
#51AC99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #57b31f;
/* rgb */ color: rgb(87, 179, 31);
/* oklch */ color: oklch(68.3% 0.195 137.0);
Tailwind
colors: {
  custom: {
    50: '#90ca69',
    500: '#57b31f',
    950: '#000000',
  },
}
SCSS
$custom: #57b31f;
$custom-light: #90ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#57b31f",
  "rgb": {
    "r": 87,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 97.297,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68344,
    "c": 0.19527,
    "h": 137
  },
  "luminance": 0.34365
}

Semantic roles & 50–950 ramp

primary
#57B31F
secondary
#A364CA
accent
#3BEDAA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #57B31F

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

Preview Lab → · Contrast checker → · Palette generator →

#57B31F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva