#51A826#51A826

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

Color values

HEX#51A826
RGBrgb(81, 168, 38)
HSLhsl(100, 63%, 40%)
HSVhsv(100, 77%, 66%)
CMYKcmyk(51.8%, 0%, 77.4%, 34.1%)
CIE-LABlab(61.56, -48.55, 54.89)
CIE-LCHlch(61.56, 73.28, 131.49°)
OKLaboklab(65.25% -0.1345 0.1225)
OKLCHoklch(65.25% 0.182 137.7)
XYZxyz(17.7452, 29.8932, 6.6682)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A826 #7D26A8
analogous
#92A826 #51A826 #26A83C
triadic
#51A826 #2651A8 #A82651
tetradic
#51A826 #2692A8 #7D26A8 #A83C26
square
#51A826 #2692A8 #7D26A8 #A83C26
split-complementary
#51A826 #3C26A8 #A82692
monochromatic
#21440F #39761B #51A826 #6CD239 #91DE6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A826#FFFFFF#000000##000000
##51A8261.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)
#AE9904
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#4BA290
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #51a826;
/* rgb */ color: rgb(81, 168, 38);
/* oklch */ color: oklch(65.3% 0.182 137.7);
Tailwind
colors: {
  custom: {
    50: '#8bc26b',
    500: '#51a826',
    950: '#000000',
  },
}
SCSS
$custom: #51a826;
$custom-light: #8bc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#51a826",
  "rgb": {
    "r": 81,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 100.154,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65253,
    "c": 0.18194,
    "h": 137.7
  },
  "luminance": 0.29895
}

Semantic roles & 50–950 ramp

primary
#51A826
secondary
#A566C4
accent
#42E6B0
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A826

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

Preview Lab → · Contrast checker → · Palette generator →

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