#57B31C#57B31C

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

Color values

HEX#57B31C
RGBrgb(87, 179, 28)
HSLhsl(97, 73%, 41%)
HSVhsv(97, 84%, 70%)
CMYKcmyk(51.4%, 0%, 84.4%, 29.8%)
CIE-LABlab(65.24, -51.49, 61.26)
CIE-LCHlch(65.24, 80.03, 130.05°)
OKLaboklab(68.33% -0.1433 0.1344)
OKLCHoklch(68.33% 0.196 136.8)
XYZxyz(20.2596, 34.3488, 6.6608)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57B31C #781CB3
analogous
#A2B31C #57B31C #1CB32C
triadic
#57B31C #1C57B3 #B31C57
tetradic
#57B31C #1CA2B3 #781CB3 #B32C1C
square
#57B31C #1CA2B3 #781CB3 #B32C1C
split-complementary
#57B31C #2C1CB3 #B31CA2
monochromatic
#24490B #3D7E14 #57B31C #73DE2E #96E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #57b31c;
/* rgb */ color: rgb(87, 179, 28);
/* oklch */ color: oklch(68.3% 0.196 136.8);
Tailwind
colors: {
  custom: {
    50: '#90ca68',
    500: '#57b31c',
    950: '#000000',
  },
}
SCSS
$custom: #57b31c;
$custom-light: #90ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#57b31c",
  "rgb": {
    "r": 87,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 96.556,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6833,
    "c": 0.19644,
    "h": 136.8
  },
  "luminance": 0.3435
}

Semantic roles & 50–950 ramp

primary
#57B31C
secondary
#A15FCB
accent
#38F0A8
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #57B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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