#51A119#51A119

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

Color values

HEX#51A119
RGBrgb(81, 161, 25)
HSLhsl(95, 73%, 36%)
HSVhsv(95, 84%, 63%)
CMYKcmyk(49.7%, 0%, 84.5%, 36.9%)
CIE-LABlab(59.26, -46.52, 56.59)
CIE-LCHlch(59.26, 73.26, 129.42°)
OKLaboklab(63.34% -0.1298 0.1242)
OKLCHoklch(63.34% 0.18 136.3)
XYZxyz(16.3132, 27.3081, 5.3309)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A119 #6919A1
analogous
#95A119 #51A119 #19A125
triadic
#51A119 #1951A1 #A11951
tetradic
#51A119 #1995A1 #6919A1 #A12519
square
#51A119 #1995A1 #6919A1 #A12519
split-complementary
#51A119 #2519A1 #A11995
monochromatic
#1C3709 #366C11 #51A119 #6CD621 #8DE450

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A119#FFFFFF#000000##000000
##51A1191.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)
#9C8C2B
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a119;
/* rgb */ color: rgb(81, 161, 25);
/* oklch */ color: oklch(63.3% 0.180 136.3);
Tailwind
colors: {
  custom: {
    50: '#8abd64',
    500: '#51a119',
    950: '#000000',
  },
}
SCSS
$custom: #51a119;
$custom-light: #8abd64;
$custom-dark: #000000;
JSON
{
  "hex": "#51a119",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 25
  },
  "hsl": {
    "h": 95.294,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63337,
    "c": 0.17962,
    "h": 136.3
  },
  "luminance": 0.27309
}

Semantic roles & 50–950 ramp

primary
#51A119
secondary
#954FC6
accent
#38F0A4
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A119

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

Preview Lab → · Contrast checker → · Palette generator →

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