#51AA23#51AA23

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

Color values

HEX#51AA23
RGBrgb(81, 170, 35)
HSLhsl(100, 66%, 40%)
HSVhsv(100, 79%, 67%)
CMYKcmyk(52.4%, 0%, 79.4%, 33.3%)
CIE-LABlab(62.18, -49.49, 56.45)
CIE-LCHlch(62.18, 75.07, 131.25°)
OKLaboklab(65.76% -0.1372 0.1253)
OKLCHoklch(65.76% 0.186 137.6)
XYZxyz(18.0708, 30.6188, 6.5475)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AA23 #7C23AA
analogous
#94AA23 #51AA23 #23AA39
triadic
#51AA23 #2351AA #AA2351
tetradic
#51AA23 #2394AA #7C23AA #AA3923
square
#51AA23 #2394AA #7C23AA #AA3923
split-complementary
#51AA23 #3923AA #AA2394
monochromatic
#21440E #397719 #51AA23 #6CD535 #91E068

Accessibility & contrast

On white

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

On black

7.12
#51AA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AA23
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AA23#FFFFFF#000000##000000
##51AA231.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51aa23;
/* rgb */ color: rgb(81, 170, 35);
/* oklch */ color: oklch(65.8% 0.186 137.6);
Tailwind
colors: {
  custom: {
    50: '#8bc469',
    500: '#51aa23',
    950: '#000000',
  },
}
SCSS
$custom: #51aa23;
$custom-light: #8bc469;
$custom-dark: #000000;
JSON
{
  "hex": "#51aa23",
  "rgb": {
    "r": 81,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 99.556,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65761,
    "c": 0.18583,
    "h": 137.6
  },
  "luminance": 0.3062
}

Semantic roles & 50–950 ramp

primary
#51AA23
secondary
#A463C6
accent
#3FE9AF
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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