#51A51E#51A51E

#51A51E is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.4% C 0.182 H 136.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#51A51E
RGBrgb(81, 165, 30)
HSLhsl(97, 69%, 38%)
HSVhsv(97, 82%, 65%)
CMYKcmyk(50.9%, 0%, 81.8%, 35.3%)
CIE-LABlab(60.56, -47.84, 56.42)
CIE-LCHlch(60.56, 73.97, 130.30°)
OKLaboklab(64.42% -0.133 0.1246)
OKLCHoklch(64.42% 0.182 136.9)
XYZxyz(17.0823, 28.7521, 5.8776)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A51E #721EA5
analogous
#94A51E #51A51E #1EA52E
triadic
#51A51E #1E51A5 #A51E51
tetradic
#51A51E #1E94A5 #721EA5 #A52E1E
square
#51A51E #1E94A5 #721EA5 #A52E1E
split-complementary
#51A51E #2E1EA5 #A51E94
monochromatic
#1E3D0B #387115 #51A51E #6BD828 #8EE15C

Accessibility & contrast

On white

3.11
#51A51E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#51A51E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A51E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A51E#FFFFFF#000000##000000
##51A51E1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#4C9F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #51a51e;
/* rgb */ color: rgb(81, 165, 30);
/* oklch */ color: oklch(64.4% 0.182 136.9);
Tailwind
colors: {
  custom: {
    50: '#8bc067',
    500: '#51a51e',
    950: '#000000',
  },
}
SCSS
$custom: #51a51e;
$custom-light: #8bc067;
$custom-dark: #000000;
JSON
{
  "hex": "#51a51e",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 30
  },
  "hsl": {
    "h": 97.333,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64417,
    "c": 0.18225,
    "h": 136.9
  },
  "luminance": 0.28753
}

Semantic roles & 50–950 ramp

primary
#51A51E
secondary
#9D59C5
accent
#3CECA9
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A51E

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

Preview Lab → · Contrast checker → · Palette generator →

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