#51A522#51A522

#51A522 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.4% C 0.180 H 137.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#51A522
RGBrgb(81, 165, 34)
HSLhsl(98, 66%, 39%)
HSVhsv(98, 79%, 65%)
CMYKcmyk(50.9%, 0%, 79.4%, 35.3%)
CIE-LABlab(60.58, -47.63, 55.24)
CIE-LCHlch(60.58, 72.94, 130.77°)
OKLaboklab(64.44% -0.1322 0.1227)
OKLCHoklch(64.44% 0.18 137.1)
XYZxyz(17.1367, 28.7739, 6.1640)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A522 #7622A5
analogous
#93A522 #51A522 #22A535
triadic
#51A522 #2251A5 #A52251
tetradic
#51A522 #2293A5 #7622A5 #A53522
square
#51A522 #2293A5 #7622A5 #A53522
split-complementary
#51A522 #3522A5 #A52293
monochromatic
#1F400D #387218 #51A522 #6BD430 #8FDF63

Accessibility & contrast

On white

3.11
#51A522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#51A522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A522
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A522#FFFFFF#000000##000000
##51A5221.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#4C9F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #51a522;
/* rgb */ color: rgb(81, 165, 34);
/* oklch */ color: oklch(64.4% 0.180 137.1);
Tailwind
colors: {
  custom: {
    50: '#8ac068',
    500: '#51a522',
    950: '#000000',
  },
}
SCSS
$custom: #51a522;
$custom-light: #8ac068;
$custom-dark: #000000;
JSON
{
  "hex": "#51a522",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 98.473,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64439,
    "c": 0.18038,
    "h": 137.1
  },
  "luminance": 0.28775
}

Semantic roles & 50–950 ramp

primary
#51A522
secondary
#A05FC4
accent
#3FE9AC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A522

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

Preview Lab → · Contrast checker → · Palette generator →

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