#51A923#51A923

#51A923 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.5% C 0.185 H 137.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#51A923
RGBrgb(81, 169, 35)
HSLhsl(99, 66%, 40%)
HSVhsv(99, 79%, 66%)
CMYKcmyk(52.1%, 0%, 79.3%, 33.7%)
CIE-LABlab(61.87, -49.11, 56.14)
CIE-LCHlch(61.87, 74.59, 131.18°)
OKLaboklab(65.5% -0.1362 0.1247)
OKLCHoklch(65.5% 0.185 137.5)
XYZxyz(17.8841, 30.2453, 6.4853)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A923 #7B23A9
analogous
#94A923 #51A923 #23A938
triadic
#51A923 #2351A9 #A92351
tetradic
#51A923 #2394A9 #7B23A9 #A93823
square
#51A923 #2394A9 #7B23A9 #A93823
split-complementary
#51A923 #3823A9 #A92394
monochromatic
#20440E #397619 #51A923 #6BD534 #90DF67

Accessibility & contrast

On white

2.98
#51A923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#51A923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A923
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A923#FFFFFF#000000##000000
##51A9231.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A39332
Tritanopia (blue-blind)
#4BA390
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #51a923;
/* rgb */ color: rgb(81, 169, 35);
/* oklch */ color: oklch(65.5% 0.185 137.5);
Tailwind
colors: {
  custom: {
    50: '#8bc369',
    500: '#51a923',
    950: '#000000',
  },
}
SCSS
$custom: #51a923;
$custom-light: #8bc369;
$custom-dark: #000000;
JSON
{
  "hex": "#51a923",
  "rgb": {
    "r": 81,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 99.403,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.65498,
    "c": 0.18465,
    "h": 137.5
  },
  "luminance": 0.30247
}

Semantic roles & 50–950 ramp

primary
#51A923
secondary
#A363C5
accent
#3FE9AE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A923

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

Preview Lab → · Contrast checker → · Palette generator →

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