#51AA24#51AA24

#51AA24 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 65.8% C 0.185 H 137.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#51AA24
RGBrgb(81, 170, 36)
HSLhsl(100, 65%, 40%)
HSVhsv(100, 79%, 67%)
CMYKcmyk(52.4%, 0%, 78.8%, 33.3%)
CIE-LABlab(62.19, -49.44, 56.14)
CIE-LCHlch(62.19, 74.80, 131.37°)
OKLaboklab(65.77% -0.137 0.1249)
OKLCHoklch(65.77% 0.185 137.7)
XYZxyz(18.0859, 30.6248, 6.6269)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AA24 #7D24AA
analogous
#94AA24 #51AA24 #24AA3A
triadic
#51AA24 #2451AA #AA2451
tetradic
#51AA24 #2494AA #7D24AA #AA3A24
square
#51AA24 #2494AA #7D24AA #AA3A24
split-complementary
#51AA24 #3A24AA #AA2494
monochromatic
#21450F #397719 #51AA24 #6CD537 #91DF69

Accessibility & contrast

On white

2.95
#51AA24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#51AA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AA24
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AA24#FFFFFF#000000##000000
##51AA241.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A49433
Tritanopia (blue-blind)
#4AA491
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #51aa24;
/* rgb */ color: rgb(81, 170, 36);
/* oklch */ color: oklch(65.8% 0.185 137.7);
Tailwind
colors: {
  custom: {
    50: '#8bc46a',
    500: '#51aa24',
    950: '#000000',
  },
}
SCSS
$custom: #51aa24;
$custom-light: #8bc46a;
$custom-dark: #000000;
JSON
{
  "hex": "#51aa24",
  "rgb": {
    "r": 81,
    "g": 170,
    "b": 36
  },
  "hsl": {
    "h": 99.851,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65766,
    "c": 0.18535,
    "h": 137.7
  },
  "luminance": 0.30626
}

Semantic roles & 50–950 ramp

primary
#51AA24
secondary
#A565C5
accent
#40E8B0
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AA24

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

Preview Lab → · Contrast checker → · Palette generator →

#51AA24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva