#51A01A#51A01A

#51A01A 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#51A01A
RGBrgb(81, 160, 26)
HSLhsl(95, 72%, 36%)
HSVhsv(95, 84%, 63%)
CMYKcmyk(49.4%, 0%, 83.8%, 37.3%)
CIE-LABlab(58.94, -46.08, 56.04)
CIE-LCHlch(58.94, 72.56, 129.43°)
OKLaboklab(63.08% -0.1285 0.1232)
OKLCHoklch(63.08% 0.178 136.2)
XYZxyz(16.1502, 26.9644, 5.3307)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A01A #691AA0
analogous
#94A01A #51A01A #1AA026
triadic
#51A01A #1A51A0 #A01A51
tetradic
#51A01A #1A94A0 #691AA0 #A0261A
square
#51A01A #1A94A0 #691AA0 #A0261A
split-complementary
#51A01A #261AA0 #A01A94
monochromatic
#1C3709 #366B11 #51A01A #6CD523 #8DE352

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A01A#FFFFFF#000000##000000
##51A01A1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a01a;
/* rgb */ color: rgb(81, 160, 26);
/* oklch */ color: oklch(63.1% 0.178 136.2);
Tailwind
colors: {
  custom: {
    50: '#8abd64',
    500: '#51a01a',
    950: '#000000',
  },
}
SCSS
$custom: #51a01a;
$custom-light: #8abd64;
$custom-dark: #000000;
JSON
{
  "hex": "#51a01a",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 26
  },
  "hsl": {
    "h": 95.373,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63077,
    "c": 0.17804,
    "h": 136.2
  },
  "luminance": 0.26966
}

Semantic roles & 50–950 ramp

primary
#51A01A
secondary
#9550C5
accent
#39EFA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A01A

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

Preview Lab → · Contrast checker → · Palette generator →

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