#51A125#51A125

#51A125 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.4% C 0.174 H 137.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#51A125
RGBrgb(81, 161, 37)
HSLhsl(99, 63%, 39%)
HSVhsv(99, 77%, 63%)
CMYKcmyk(49.7%, 0%, 77%, 36.9%)
CIE-LABlab(59.32, -45.88, 53.06)
CIE-LCHlch(59.32, 70.14, 130.85°)
OKLaboklab(63.4% -0.1273 0.1186)
OKLCHoklch(63.4% 0.174 137)
XYZxyz(16.4716, 27.3715, 6.1652)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A125 #7525A1
analogous
#8FA125 #51A125 #25A137
triadic
#51A125 #2551A1 #A12551
tetradic
#51A125 #258FA1 #7525A1 #A13725
square
#51A125 #258FA1 #7525A1 #A13725
split-complementary
#51A125 #3725A1 #A1258F
monochromatic
#1F3D0E #386F1A #51A125 #6BD033 #8FDC65

Accessibility & contrast

On white

3.24
#51A125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#51A125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A125
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A125#FFFFFF#000000##000000
##51A1251.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79307
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#4C9B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a125;
/* rgb */ color: rgb(81, 161, 37);
/* oklch */ color: oklch(63.4% 0.174 137.0);
Tailwind
colors: {
  custom: {
    50: '#8abd69',
    500: '#51a125',
    950: '#000000',
  },
}
SCSS
$custom: #51a125;
$custom-light: #8abd69;
$custom-dark: #000000;
JSON
{
  "hex": "#51a125",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 98.71,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63403,
    "c": 0.17399,
    "h": 137
  },
  "luminance": 0.27373
}

Semantic roles & 50–950 ramp

primary
#51A125
secondary
#9F61C1
accent
#42E6AC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A125

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

Preview Lab → · Contrast checker → · Palette generator →

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