#51AC1F#51AC1F

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

Color values

HEX#51AC1F
RGBrgb(81, 172, 31)
HSLhsl(99, 69%, 40%)
HSVhsv(99, 82%, 67%)
CMYKcmyk(52.9%, 0%, 82%, 32.5%)
CIE-LABlab(62.80, -50.47, 58.19)
CIE-LCHlch(62.80, 77.03, 130.93°)
OKLaboklab(66.27% -0.14 0.1284)
OKLCHoklch(66.27% 0.19 137.5)
XYZxyz(18.3926, 31.3519, 6.3784)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC1F #7A1FAC
analogous
#98AC1F #51AC1F #1FAC33
triadic
#51AC1F #1F51AC #AC1F51
tetradic
#51AC1F #1F98AC #7A1FAC #AC331F
square
#51AC1F #1F98AC #7A1FAC #AC331F
split-complementary
#51AC1F #331FAC #AC1F98
monochromatic
#20440C #397816 #51AC1F #6BD92F #90E363

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51AC1F#FFFFFF#000000##000000
##51AC1F1.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)
#4AA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac1f;
/* rgb */ color: rgb(81, 172, 31);
/* oklch */ color: oklch(66.3% 0.190 137.5);
Tailwind
colors: {
  custom: {
    50: '#8bc568',
    500: '#51ac1f',
    950: '#000000',
  },
}
SCSS
$custom: #51ac1f;
$custom-light: #8bc568;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac1f",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 98.723,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66265,
    "c": 0.19001,
    "h": 137.5
  },
  "luminance": 0.31353
}

Semantic roles & 50–950 ramp

primary
#51AC1F
secondary
#A35FC8
accent
#3CECAE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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