#51AC23#51AC23

#51AC23 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.3% C 0.188 H 137.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#51AC23
RGBrgb(81, 172, 35)
HSLhsl(100, 66%, 41%)
HSVhsv(100, 80%, 67%)
CMYKcmyk(52.9%, 0%, 79.7%, 32.5%)
CIE-LABlab(62.82, -50.25, 57.05)
CIE-LCHlch(62.82, 76.02, 131.38°)
OKLaboklab(66.29% -0.1392 0.1266)
OKLCHoklch(66.29% 0.188 137.7)
XYZxyz(18.4486, 31.3743, 6.6735)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC23 #7E23AC
analogous
#95AC23 #51AC23 #23AC39
triadic
#51AC23 #2351AC #AC2351
tetradic
#51AC23 #2395AC #7E23AC #AC3923
square
#51AC23 #2395AC #7E23AC #AC3923
split-complementary
#51AC23 #3923AC #AC2395
monochromatic
#21460E #397919 #51AC23 #6CD636 #91E069

Accessibility & contrast

On white

2.89
#51AC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#51AC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AC23
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AC23#FFFFFF#000000##000000
##51AC231.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#4AA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac23;
/* rgb */ color: rgb(81, 172, 35);
/* oklch */ color: oklch(66.3% 0.188 137.7);
Tailwind
colors: {
  custom: {
    50: '#8bc56a',
    500: '#51ac23',
    950: '#000000',
  },
}
SCSS
$custom: #51ac23;
$custom-light: #8bc56a;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac23",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 99.854,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.18819,
    "h": 137.7
  },
  "luminance": 0.31376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51AC23

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

Preview Lab → · Contrast checker → · Palette generator →

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