#57B31B#57B31B

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

Color values

HEX#57B31B
RGBrgb(87, 179, 27)
HSLhsl(96, 74%, 40%)
HSVhsv(96, 85%, 70%)
CMYKcmyk(51.4%, 0%, 84.9%, 29.8%)
CIE-LABlab(65.23, -51.53, 61.50)
CIE-LCHlch(65.23, 80.24, 129.96°)
OKLaboklab(68.33% -0.1435 0.1347)
OKLCHoklch(68.33% 0.197 136.8)
XYZxyz(20.2478, 34.3441, 6.5988)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57B31B #771BB3
analogous
#A3B31B #57B31B #1BB32B
triadic
#57B31B #1B57B3 #B31B57
tetradic
#57B31B #1BA3B3 #771BB3 #B32B1B
square
#57B31B #1BA3B3 #771BB3 #B32B1B
split-complementary
#57B31B #2B1BB3 #B31BA3
monochromatic
#23490B #3D7E13 #57B31B #73DF2C #96E761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57B31B#FFFFFF#000000##000000
##57B31B1.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)
#AD9C2F
Tritanopia (blue-blind)
#51AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #57b31b;
/* rgb */ color: rgb(87, 179, 27);
/* oklch */ color: oklch(68.3% 0.197 136.8);
Tailwind
colors: {
  custom: {
    50: '#90ca68',
    500: '#57b31b',
    950: '#000000',
  },
}
SCSS
$custom: #57b31b;
$custom-light: #90ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#57b31b",
  "rgb": {
    "r": 87,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 96.316,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68326,
    "c": 0.19681,
    "h": 136.8
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

primary
#57B31B
secondary
#A05ECC
accent
#37F0A7
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #57B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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