#51A326#51A326

#51A326 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 63.9% C 0.176 H 137.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#51A326
RGBrgb(81, 163, 38)
HSLhsl(99, 62%, 39%)
HSVhsv(99, 77%, 64%)
CMYKcmyk(50.3%, 0%, 76.7%, 36.1%)
CIE-LABlab(59.96, -46.60, 53.34)
CIE-LCHlch(59.96, 70.83, 131.14°)
OKLaboklab(63.94% -0.1292 0.1193)
OKLCHoklch(63.94% 0.176 137.3)
XYZxyz(16.8399, 28.0825, 6.3664)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A326 #7826A3
analogous
#90A326 #51A326 #26A33A
triadic
#51A326 #2651A3 #A32651
tetradic
#51A326 #2690A3 #7826A3 #A33A26
square
#51A326 #2690A3 #7826A3 #A33A26
split-complementary
#51A326 #3A26A3 #A32690
monochromatic
#20400F #38711A #51A326 #6BD036 #90DC68

Accessibility & contrast

On white

3.17
#51A326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#51A326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A326
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A326#FFFFFF#000000##000000
##51A3261.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89508
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#4C9D8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #51a326;
/* rgb */ color: rgb(81, 163, 38);
/* oklch */ color: oklch(63.9% 0.176 137.3);
Tailwind
colors: {
  custom: {
    50: '#8abf6a',
    500: '#51a326',
    950: '#000000',
  },
}
SCSS
$custom: #51a326;
$custom-light: #8abf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#51a326",
  "rgb": {
    "r": 81,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 99.36,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.17588,
    "h": 137.3
  },
  "luminance": 0.28084
}

Semantic roles & 50–950 ramp

primary
#51A326
secondary
#A163C2
accent
#43E5AD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A326

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

Preview Lab → · Contrast checker → · Palette generator →

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