#51A11B#51A11B

#51A11B is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.3% C 0.179 H 136.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#51A11B
RGBrgb(81, 161, 27)
HSLhsl(96, 71%, 37%)
HSVhsv(96, 83%, 63%)
CMYKcmyk(49.7%, 0%, 83.2%, 36.9%)
CIE-LABlab(59.27, -46.43, 56.07)
CIE-LCHlch(59.27, 72.80, 129.63°)
OKLaboklab(63.35% -0.1294 0.1234)
OKLCHoklch(63.35% 0.179 136.4)
XYZxyz(16.3356, 27.3171, 5.4486)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A11B #6B1BA1
analogous
#94A11B #51A11B #1BA128
triadic
#51A11B #1B51A1 #A11B51
tetradic
#51A11B #1B94A1 #6B1BA1 #A1281B
square
#51A11B #1B94A1 #6B1BA1 #A1281B
split-complementary
#51A11B #281BA1 #A11B94
monochromatic
#1C3809 #376D12 #51A11B #6BD524 #8DE254

Accessibility & contrast

On white

3.25
#51A11B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#51A11B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A11B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A11B#FFFFFF#000000##000000
##51A11B1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a11b;
/* rgb */ color: rgb(81, 161, 27);
/* oklch */ color: oklch(63.3% 0.179 136.4);
Tailwind
colors: {
  custom: {
    50: '#8abd65',
    500: '#51a11b',
    950: '#000000',
  },
}
SCSS
$custom: #51a11b;
$custom-light: #8abd65;
$custom-dark: #000000;
JSON
{
  "hex": "#51a11b",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 95.821,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.17881,
    "h": 136.4
  },
  "luminance": 0.27318
}

Semantic roles & 50–950 ramp

primary
#51A11B
secondary
#9752C5
accent
#3AEEA5
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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