#51AC1E#51AC1E

#51AC1E is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.3% C 0.190 H 137.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#51AC1E
RGBrgb(81, 172, 30)
HSLhsl(98, 70%, 40%)
HSVhsv(98, 83%, 67%)
CMYKcmyk(52.9%, 0%, 82.6%, 32.5%)
CIE-LABlab(62.80, -50.52, 58.46)
CIE-LCHlch(62.80, 77.27, 130.83°)
OKLaboklab(66.26% -0.1402 0.1289)
OKLCHoklch(66.26% 0.19 137.4)
XYZxyz(18.3796, 31.3467, 6.3100)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC1E #791EAC
analogous
#98AC1E #51AC1E #1EAC32
triadic
#51AC1E #1E51AC #AC1E51
tetradic
#51AC1E #1E98AC #791EAC #AC321E
square
#51AC1E #1E98AC #791EAC #AC321E
split-complementary
#51AC1E #321EAC #AC1E98
monochromatic
#20440C #387815 #51AC1E #6BDA2D #90E361

Accessibility & contrast

On white

2.89
#51AC1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#51AC1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AC1E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AC1E#FFFFFF#000000##000000
##51AC1E1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#4AA692
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac1e;
/* rgb */ color: rgb(81, 172, 30);
/* oklch */ color: oklch(66.3% 0.190 137.4);
Tailwind
colors: {
  custom: {
    50: '#8cc568',
    500: '#51ac1e',
    950: '#000000',
  },
}
SCSS
$custom: #51ac1e;
$custom-light: #8cc568;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac1e",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 30
  },
  "hsl": {
    "h": 98.451,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6626,
    "c": 0.19042,
    "h": 137.4
  },
  "luminance": 0.31348
}

Semantic roles & 50–950 ramp

primary
#51AC1E
secondary
#A25EC8
accent
#3BEDAD
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AC1E

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

Preview Lab → · Contrast checker → · Palette generator →

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