#51A01D#51A01D

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

Color values

HEX#51A01D
RGBrgb(81, 160, 29)
HSLhsl(96, 69%, 37%)
HSVhsv(96, 82%, 63%)
CMYKcmyk(49.4%, 0%, 81.9%, 37.3%)
CIE-LABlab(58.95, -45.94, 55.23)
CIE-LCHlch(58.95, 71.83, 129.76°)
OKLaboklab(63.09% -0.128 0.1219)
OKLCHoklch(63.09% 0.177 136.4)
XYZxyz(16.1855, 26.9785, 5.5167)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A01D #6C1DA0
analogous
#93A01D #51A01D #1DA02A
triadic
#51A01D #1D51A0 #A01D51
tetradic
#51A01D #1D93A0 #6C1DA0 #A02A1D
square
#51A01D #1D93A0 #6C1DA0 #A02A1D
split-complementary
#51A01D #2A1DA0 #A01D93
monochromatic
#1D380A #376C14 #51A01D #6BD426 #8EE157

Accessibility & contrast

On white

3.28
#51A01D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#51A01D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A01D
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A01D#FFFFFF#000000##000000
##51A01D1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a01d;
/* rgb */ color: rgb(81, 160, 29);
/* oklch */ color: oklch(63.1% 0.177 136.4);
Tailwind
colors: {
  custom: {
    50: '#8abd65',
    500: '#51a01d',
    950: '#000000',
  },
}
SCSS
$custom: #51a01d;
$custom-light: #8abd65;
$custom-dark: #000000;
JSON
{
  "hex": "#51a01d",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 96.183,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.17676,
    "h": 136.4
  },
  "luminance": 0.2698
}

Semantic roles & 50–950 ramp

primary
#51A01D
secondary
#9855C4
accent
#3CECA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A01D

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

Preview Lab → · Contrast checker → · Palette generator →

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