#51A61E#51A61E

#51A61E is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.7% C 0.183 H 137.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#51A61E
RGBrgb(81, 166, 30)
HSLhsl(98, 69%, 38%)
HSVhsv(98, 82%, 65%)
CMYKcmyk(51.2%, 0%, 81.9%, 34.9%)
CIE-LABlab(60.88, -48.23, 56.71)
CIE-LCHlch(60.88, 74.45, 130.38°)
OKLaboklab(64.68% -0.1341 0.1252)
OKLCHoklch(64.68% 0.183 137)
XYZxyz(17.2634, 29.1142, 5.9380)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A61E #731EA6
analogous
#95A61E #51A61E #1EA62F
triadic
#51A61E #1E51A6 #A61E51
tetradic
#51A61E #1E95A6 #731EA6 #A62F1E
square
#51A61E #1E95A6 #731EA6 #A62F1E
split-complementary
#51A61E #2F1EA6 #A61E95
monochromatic
#1E3E0B #387215 #51A61E #6BD829 #8FE25D

Accessibility & contrast

On white

3.08
#51A61E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#51A61E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A61E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A61E#FFFFFF#000000##000000
##51A61E1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#4CA08D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #51a61e;
/* rgb */ color: rgb(81, 166, 30);
/* oklch */ color: oklch(64.7% 0.183 137.0);
Tailwind
colors: {
  custom: {
    50: '#8bc167',
    500: '#51a61e',
    950: '#000000',
  },
}
SCSS
$custom: #51a61e;
$custom-light: #8bc167;
$custom-dark: #000000;
JSON
{
  "hex": "#51a61e",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 30
  },
  "hsl": {
    "h": 97.5,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.18343,
    "h": 137
  },
  "luminance": 0.29116
}

Semantic roles & 50–950 ramp

primary
#51A61E
secondary
#9D5AC6
accent
#3CECAA
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A61E

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

Preview Lab → · Contrast checker → · Palette generator →

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