#51AD23#51AD23

#51AD23 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.5% C 0.189 H 137.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#51AD23
RGBrgb(81, 173, 35)
HSLhsl(100, 66%, 41%)
HSVhsv(100, 80%, 68%)
CMYKcmyk(53.2%, 0%, 79.8%, 32.2%)
CIE-LABlab(63.14, -50.63, 57.35)
CIE-LCHlch(63.14, 76.50, 131.44°)
OKLaboklab(66.55% -0.1403 0.1272)
OKLCHoklch(66.55% 0.189 137.8)
XYZxyz(18.6396, 31.7564, 6.7372)
Luminance0.3176 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AD23 #7F23AD
analogous
#96AD23 #51AD23 #23AD3A
triadic
#51AD23 #2351AD #AD2351
tetradic
#51AD23 #2396AD #7F23AD #AD3A23
square
#51AD23 #2396AD #7F23AD #AD3A23
split-complementary
#51AD23 #3A23AD #AD2396
monochromatic
#21470E #397A19 #51AD23 #6CD637 #91E16A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51AD23#FFFFFF#000000##000000
##51AD231.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)
#B39E00
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#4AA794
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #51ad23;
/* rgb */ color: rgb(81, 173, 35);
/* oklch */ color: oklch(66.5% 0.189 137.8);
Tailwind
colors: {
  custom: {
    50: '#8bc66a',
    500: '#51ad23',
    950: '#000000',
  },
}
SCSS
$custom: #51ad23;
$custom-light: #8bc66a;
$custom-dark: #000000;
JSON
{
  "hex": "#51ad23",
  "rgb": {
    "r": 81,
    "g": 173,
    "b": 35
  },
  "hsl": {
    "h": 100,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66549,
    "c": 0.18937,
    "h": 137.8
  },
  "luminance": 0.31758
}

Semantic roles & 50–950 ramp

primary
#51AD23
secondary
#A665C7
accent
#3FE9B0
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AD23

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

Preview Lab → · Contrast checker → · Palette generator →

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