#51A71D#51A71D

#51A71D is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 64.9% C 0.185 H 137.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#51A71D
RGBrgb(81, 167, 29)
HSLhsl(97, 70%, 38%)
HSVhsv(97, 83%, 65%)
CMYKcmyk(51.5%, 0%, 82.6%, 34.5%)
CIE-LABlab(61.20, -48.66, 57.28)
CIE-LCHlch(61.20, 75.16, 130.35°)
OKLaboklab(64.94% -0.1353 0.1262)
OKLCHoklch(64.94% 0.185 137)
XYZxyz(17.4333, 29.4742, 5.9326)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A71D #731DA7
analogous
#96A71D #51A71D #1DA72E
triadic
#51A71D #1D51A7 #A71D51
tetradic
#51A71D #1D96A7 #731DA7 #A72E1D
square
#51A71D #1D96A7 #731DA7 #A72E1D
split-complementary
#51A71D #2E1DA7 #A71D96
monochromatic
#1E3F0B #387314 #51A71D #6BDA28 #8FE35C

Accessibility & contrast

On white

3.05
#51A71D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#51A71D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A71D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A71D#FFFFFF#000000##000000
##51A71D1.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#4CA18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #51a71d;
/* rgb */ color: rgb(81, 167, 29);
/* oklch */ color: oklch(64.9% 0.185 137.0);
Tailwind
colors: {
  custom: {
    50: '#8bc267',
    500: '#51a71d',
    950: '#000000',
  },
}
SCSS
$custom: #51a71d;
$custom-light: #8bc267;
$custom-dark: #000000;
JSON
{
  "hex": "#51a71d",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 97.391,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64939,
    "c": 0.18503,
    "h": 137
  },
  "luminance": 0.29475
}

Semantic roles & 50–950 ramp

primary
#51A71D
secondary
#9D59C7
accent
#3BEDAA
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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