#51A825#51A825

#51A825 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.2% C 0.182 H 137.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#51A825
RGBrgb(81, 168, 37)
HSLhsl(100, 64%, 40%)
HSVhsv(100, 78%, 66%)
CMYKcmyk(51.8%, 0%, 78%, 34.1%)
CIE-LABlab(61.56, -48.61, 55.22)
CIE-LCHlch(61.56, 73.56, 131.36°)
OKLaboklab(65.25% -0.1347 0.1231)
OKLCHoklch(65.25% 0.182 137.6)
XYZxyz(17.7293, 29.8868, 6.5844)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A825 #7C25A8
analogous
#93A825 #51A825 #25A83A
triadic
#51A825 #2551A8 #A82551
tetradic
#51A825 #2593A8 #7C25A8 #A83A25
square
#51A825 #2593A8 #7C25A8 #A83A25
split-complementary
#51A825 #3A25A8 #A82593
monochromatic
#21440F #39761A #51A825 #6CD337 #91DE69

Accessibility & contrast

On white

3.01
#51A825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#51A825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A825
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A825#FFFFFF#000000##000000
##51A8251.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9901
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#4BA28F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #51a825;
/* rgb */ color: rgb(81, 168, 37);
/* oklch */ color: oklch(65.2% 0.182 137.6);
Tailwind
colors: {
  custom: {
    50: '#8bc26a',
    500: '#51a825',
    950: '#000000',
  },
}
SCSS
$custom: #51a825;
$custom-light: #8bc26a;
$custom-dark: #000000;
JSON
{
  "hex": "#51a825",
  "rgb": {
    "r": 81,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 99.847,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65247,
    "c": 0.18246,
    "h": 137.6
  },
  "luminance": 0.29888
}

Semantic roles & 50–950 ramp

primary
#51A825
secondary
#A465C4
accent
#41E7AF
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A825

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

Preview Lab → · Contrast checker → · Palette generator →

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