#57AA21#57AA21

#57AA21 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.0% C 0.184 H 136.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#57AA21
RGBrgb(87, 170, 33)
HSLhsl(96, 67%, 40%)
HSVhsv(96, 81%, 67%)
CMYKcmyk(48.8%, 0%, 80.6%, 33.3%)
CIE-LABlab(62.41, -47.79, 57.34)
CIE-LCHlch(62.41, 74.65, 129.81°)
OKLaboklab(66.01% -0.1331 0.1268)
OKLCHoklch(66.01% 0.184 136.4)
XYZxyz(18.5792, 30.8842, 6.4208)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57AA21 #7421AA
analogous
#9CAA21 #57AA21 #21AA2F
triadic
#57AA21 #2157AA #AA2157
tetradic
#57AA21 #219CAA #7421AA #AA2F21
square
#57AA21 #219CAA #7421AA #AA2F21
split-complementary
#57AA21 #2F21AA #AA219C
monochromatic
#23430D #3D7717 #57AA21 #73D731 #96E164

Accessibility & contrast

On white

2.93
#57AA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#57AA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #57AA21
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57AA21#FFFFFF#000000##000000
##57AA211.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#53A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #57aa21;
/* rgb */ color: rgb(87, 170, 33);
/* oklch */ color: oklch(66.0% 0.184 136.4);
Tailwind
colors: {
  custom: {
    50: '#8fc469',
    500: '#57aa21',
    950: '#000000',
  },
}
SCSS
$custom: #57aa21;
$custom-light: #8fc469;
$custom-dark: #000000;
JSON
{
  "hex": "#57aa21",
  "rgb": {
    "r": 87,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 96.35,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66008,
    "c": 0.18389,
    "h": 136.4
  },
  "luminance": 0.30885
}

Semantic roles & 50–950 ramp

primary
#57AA21
secondary
#9E61C6
accent
#3DEAA6
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #57AA21

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

Preview Lab → · Contrast checker → · Palette generator →

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