#51B41A#51B41A

#51B41A is a light, highly saturated yellow-green. Relative luminance 0.345; OKLCH L 68.3% C 0.201 H 137.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#51B41A
RGBrgb(81, 180, 26)
HSLhsl(99, 75%, 40%)
HSVhsv(99, 86%, 71%)
CMYKcmyk(55%, 0%, 85.6%, 29.4%)
CIE-LABlab(65.33, -53.66, 61.74)
CIE-LCHlch(65.33, 81.80, 131.00°)
OKLaboklab(68.34% -0.1488 0.1352)
OKLCHoklch(68.34% 0.201 137.7)
XYZxyz(19.9004, 34.4648, 6.5808)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B41A #7D1AB4
analogous
#9EB41A #51B41A #1AB430
triadic
#51B41A #1A51B4 #B41A51
tetradic
#51B41A #1A9EB4 #7D1AB4 #B4301A
square
#51B41A #1A9EB4 #7D1AB4 #B4301A
split-complementary
#51B41A #301AB4 #B41A9E
monochromatic
#21490B #397F12 #51B41A #6CE02B #91E860

Accessibility & contrast

On white

2.66
#51B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#51B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B41A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B41A#FFFFFF#000000##000000
##51B41A1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#49AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b41a;
/* rgb */ color: rgb(81, 180, 26);
/* oklch */ color: oklch(68.3% 0.201 137.7);
Tailwind
colors: {
  custom: {
    50: '#8dcb67',
    500: '#51b41a',
    950: '#000000',
  },
}
SCSS
$custom: #51b41a;
$custom-light: #8dcb67;
$custom-dark: #000000;
JSON
{
  "hex": "#51b41a",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 98.571,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68342,
    "c": 0.20105,
    "h": 137.7
  },
  "luminance": 0.34466
}

Semantic roles & 50–950 ramp

primary
#51B41A
secondary
#A55DCC
accent
#36F1AF
background
#F9FCF6
surface
#F1F9EB
border
#CBD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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