#57B228#57B228

#57B228 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.1% C 0.190 H 137.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#57B228
RGBrgb(87, 178, 40)
HSLhsl(100, 63%, 43%)
HSVhsv(100, 78%, 70%)
CMYKcmyk(51.1%, 0%, 77.5%, 30.2%)
CIE-LABlab(64.98, -50.49, 57.61)
CIE-LCHlch(64.98, 76.60, 131.24°)
OKLaboklab(68.13% -0.14 0.1284)
OKLCHoklch(68.13% 0.19 137.5)
XYZxyz(20.2332, 34.0187, 7.5072)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57B228 #8328B2
analogous
#9CB228 #57B228 #28B23E
triadic
#57B228 #2857B2 #B22857
tetradic
#57B228 #289CB2 #8328B2 #B23E28
square
#57B228 #289CB2 #8328B2 #B23E28
split-complementary
#57B228 #3E28B2 #B2289C
monochromatic
#264E12 #3F801D #57B228 #74D543 #99E075

Accessibility & contrast

On white

2.69
#57B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#57B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #57B228
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57B228#FFFFFF#000000##000000
##57B2281.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A202
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#51AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #57b228;
/* rgb */ color: rgb(87, 178, 40);
/* oklch */ color: oklch(68.1% 0.190 137.5);
Tailwind
colors: {
  custom: {
    50: '#8fca6d',
    500: '#57b228',
    950: '#000000',
  },
}
SCSS
$custom: #57b228;
$custom-light: #8fca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#57b228",
  "rgb": {
    "r": 87,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 99.565,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68133,
    "c": 0.18996,
    "h": 137.5
  },
  "luminance": 0.3402
}

Semantic roles & 50–950 ramp

primary
#57B228
secondary
#A96FC7
accent
#41E6AE
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #57B228

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

Preview Lab → · Contrast checker → · Palette generator →

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