#51A019#51A019

#51A019 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.1% C 0.178 H 136.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#51A019
RGBrgb(81, 160, 25)
HSLhsl(95, 73%, 36%)
HSVhsv(95, 84%, 63%)
CMYKcmyk(49.4%, 0%, 84.4%, 37.3%)
CIE-LABlab(58.94, -46.13, 56.30)
CIE-LCHlch(58.94, 72.79, 129.33°)
OKLaboklab(63.07% -0.1287 0.1236)
OKLCHoklch(63.07% 0.178 136.2)
XYZxyz(16.1392, 26.9600, 5.2729)
Luminance0.2696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A019 #6819A0
analogous
#95A019 #51A019 #19A025
triadic
#51A019 #1951A0 #A01951
tetradic
#51A019 #1995A0 #6819A0 #A02519
square
#51A019 #1995A0 #6819A0 #A02519
split-complementary
#51A019 #2519A0 #A01995
monochromatic
#1B3608 #366B11 #51A019 #6CD521 #8DE450

Accessibility & contrast

On white

3.29
#51A019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#51A019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A019
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A019#FFFFFF#000000##000000
##51A0191.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8B2A
Tritanopia (blue-blind)
#4D9A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #51a019;
/* rgb */ color: rgb(81, 160, 25);
/* oklch */ color: oklch(63.1% 0.178 136.2);
Tailwind
colors: {
  custom: {
    50: '#8abd64',
    500: '#51a019',
    950: '#000000',
  },
}
SCSS
$custom: #51a019;
$custom-light: #8abd64;
$custom-dark: #000000;
JSON
{
  "hex": "#51a019",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 25
  },
  "hsl": {
    "h": 95.111,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63072,
    "c": 0.17844,
    "h": 136.2
  },
  "luminance": 0.26961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51A019

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

Preview Lab → · Contrast checker → · Palette generator →

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