#51AD20#51AD20

#51AD20 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.5% C 0.191 H 137.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#51AD20
RGBrgb(81, 173, 32)
HSLhsl(99, 69%, 40%)
HSVhsv(99, 82%, 68%)
CMYKcmyk(53.2%, 0%, 81.5%, 32.2%)
CIE-LABlab(63.13, -50.79, 58.21)
CIE-LCHlch(63.13, 77.25, 131.11°)
OKLaboklab(66.53% -0.1408 0.1286)
OKLCHoklch(66.53% 0.191 137.6)
XYZxyz(18.5970, 31.7393, 6.5125)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AD20 #7C20AD
analogous
#97AD20 #51AD20 #20AD36
triadic
#51AD20 #2051AD #AD2051
tetradic
#51AD20 #2097AD #7C20AD #AD3620
square
#51AD20 #2097AD #7C20AD #AD3620
split-complementary
#51AD20 #3620AD #AD2097
monochromatic
#21460D #397916 #51AD20 #6CD931 #91E265

Accessibility & contrast

On white

2.86
#51AD20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#51AD20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AD20
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AD20#FFFFFF#000000##000000
##51AD201.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#4AA793
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #51ad20;
/* rgb */ color: rgb(81, 173, 32);
/* oklch */ color: oklch(66.5% 0.191 137.6);
Tailwind
colors: {
  custom: {
    50: '#8cc669',
    500: '#51ad20',
    950: '#000000',
  },
}
SCSS
$custom: #51ad20;
$custom-light: #8cc669;
$custom-dark: #000000;
JSON
{
  "hex": "#51ad20",
  "rgb": {
    "r": 81,
    "g": 173,
    "b": 32
  },
  "hsl": {
    "h": 99.149,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.19073,
    "h": 137.6
  },
  "luminance": 0.31741
}

Semantic roles & 50–950 ramp

primary
#51AD20
secondary
#A461C8
accent
#3CECAF
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AD20

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

Preview Lab → · Contrast checker → · Palette generator →

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