#51A71B#51A71B

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

Color values

HEX#51A71B
RGBrgb(81, 167, 27)
HSLhsl(97, 72%, 38%)
HSVhsv(97, 84%, 65%)
CMYKcmyk(51.5%, 0%, 83.8%, 34.5%)
CIE-LABlab(61.19, -48.76, 57.80)
CIE-LCHlch(61.19, 75.62, 130.15°)
OKLaboklab(64.93% -0.1356 0.127)
OKLCHoklch(64.93% 0.186 136.9)
XYZxyz(17.4094, 29.4646, 5.8066)
Luminance0.2947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A71B #711BA7
analogous
#97A71B #51A71B #1BA72B
triadic
#51A71B #1B51A7 #A71B51
tetradic
#51A71B #1B97A7 #711BA7 #A72B1B
square
#51A71B #1B97A7 #711BA7 #A72B1B
split-complementary
#51A71B #2B1BA7 #A71B97
monochromatic
#1E3E0A #377212 #51A71B #6BDC24 #8EE458

Accessibility & contrast

On white

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

On black

6.89
#51A71B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A71B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A71B#FFFFFF#000000##000000
##51A71B1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a71b;
/* rgb */ color: rgb(81, 167, 27);
/* oklch */ color: oklch(64.9% 0.186 136.9);
Tailwind
colors: {
  custom: {
    50: '#8bc266',
    500: '#51a71b',
    950: '#000000',
  },
}
SCSS
$custom: #51a71b;
$custom-light: #8bc266;
$custom-dark: #000000;
JSON
{
  "hex": "#51a71b",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 96.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64929,
    "c": 0.18585,
    "h": 136.9
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

primary
#51A71B
secondary
#9C56C8
accent
#39EFA9
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #51A71B

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

Preview Lab → · Contrast checker → · Palette generator →

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