#51A71E#51A71E

#51A71E 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#51A71E
RGBrgb(81, 167, 30)
HSLhsl(98, 70%, 39%)
HSVhsv(98, 82%, 65%)
CMYKcmyk(51.5%, 0%, 82%, 34.5%)
CIE-LABlab(61.20, -48.61, 57.01)
CIE-LCHlch(61.20, 74.92, 130.46°)
OKLaboklab(64.94% -0.1351 0.1258)
OKLCHoklch(64.94% 0.185 137)
XYZxyz(17.4459, 29.4792, 5.9988)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A71E #741EA7
analogous
#95A71E #51A71E #1EA72F
triadic
#51A71E #1E51A7 #A71E51
tetradic
#51A71E #1E95A7 #741EA7 #A72F1E
square
#51A71E #1E95A7 #741EA7 #A72F1E
split-complementary
#51A71E #2F1EA7 #A71E95
monochromatic
#1F3F0B #387315 #51A71E #6BD92A #8FE25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A71E#FFFFFF#000000##000000
##51A71E1.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)
#A2912F
Tritanopia (blue-blind)
#4CA18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #51a71e;
/* rgb */ color: rgb(81, 167, 30);
/* oklch */ color: oklch(64.9% 0.185 137.0);
Tailwind
colors: {
  custom: {
    50: '#8bc267',
    500: '#51a71e',
    950: '#000000',
  },
}
SCSS
$custom: #51a71e;
$custom-light: #8bc267;
$custom-dark: #000000;
JSON
{
  "hex": "#51a71e",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 97.664,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64944,
    "c": 0.1846,
    "h": 137
  },
  "luminance": 0.29481
}

Semantic roles & 50–950 ramp

primary
#51A71E
secondary
#9E5BC6
accent
#3BECAA
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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