#57A228#57A228

#57A228 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.0% C 0.171 H 136.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#57A228
RGBrgb(87, 162, 40)
HSLhsl(97, 60%, 40%)
HSVhsv(97, 75%, 64%)
CMYKcmyk(46.3%, 0%, 75.3%, 36.5%)
CIE-LABlab(59.91, -44.18, 52.68)
CIE-LCHlch(59.91, 68.75, 129.99°)
OKLaboklab(63.96% -0.123 0.1181)
OKLCHoklch(63.96% 0.171 136.2)
XYZxyz(17.2334, 28.0190, 6.5072)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57A228 #7328A2
analogous
#94A228 #57A228 #28A236
triadic
#57A228 #2857A2 #A22857
tetradic
#57A228 #2894A2 #7328A2 #A23628
square
#57A228 #2894A2 #7328A2 #A23628
split-complementary
#57A228 #3628A2 #A22894
monochromatic
#224010 #3D711C #57A228 #72CE39 #95DA6A

Accessibility & contrast

On white

3.18
#57A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#57A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57A228
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57A228#FFFFFF#000000##000000
##57A2281.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940E
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#549C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #57a228;
/* rgb */ color: rgb(87, 162, 40);
/* oklch */ color: oklch(64.0% 0.171 136.2);
Tailwind
colors: {
  custom: {
    50: '#8dbe6b',
    500: '#57a228',
    950: '#000000',
  },
}
SCSS
$custom: #57a228;
$custom-light: #8dbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#57a228",
  "rgb": {
    "r": 87,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 96.885,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63962,
    "c": 0.17053,
    "h": 136.2
  },
  "luminance": 0.2802
}

Semantic roles & 50–950 ramp

primary
#57A228
secondary
#9D65C1
accent
#44E4A6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #57A228

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

Preview Lab → · Contrast checker → · Palette generator →

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