#57A227#57A227

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

Color values

HEX#57A227
RGBrgb(87, 162, 39)
HSLhsl(97, 61%, 39%)
HSVhsv(97, 76%, 64%)
CMYKcmyk(46.3%, 0%, 75.9%, 36.5%)
CIE-LABlab(59.90, -44.25, 53.02)
CIE-LCHlch(59.90, 69.06, 129.85°)
OKLaboklab(63.96% -0.1232 0.1187)
OKLCHoklch(63.96% 0.171 136.1)
XYZxyz(17.2166, 28.0123, 6.4188)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57A227 #7227A2
analogous
#95A227 #57A227 #27A234
triadic
#57A227 #2757A2 #A22757
tetradic
#57A227 #2795A2 #7227A2 #A23427
square
#57A227 #2795A2 #7227A2 #A23427
split-complementary
#57A227 #3427A2 #A22795
monochromatic
#223F0F #3D711B #57A227 #72CF37 #95DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57A227#FFFFFF#000000##000000
##57A2271.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)
#A8940C
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#549C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #57a227;
/* rgb */ color: rgb(87, 162, 39);
/* oklch */ color: oklch(64.0% 0.171 136.1);
Tailwind
colors: {
  custom: {
    50: '#8dbe6a',
    500: '#57a227',
    950: '#000000',
  },
}
SCSS
$custom: #57a227;
$custom-light: #8dbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#57a227",
  "rgb": {
    "r": 87,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 96.585,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63955,
    "c": 0.1711,
    "h": 136.1
  },
  "luminance": 0.28013
}

Semantic roles & 50–950 ramp

primary
#57A227
secondary
#9D64C1
accent
#43E4A6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #57A227

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

Preview Lab → · Contrast checker → · Palette generator →

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