#51A025#51A025

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

Color values

HEX#51A025
RGBrgb(81, 160, 37)
HSLhsl(99, 62%, 39%)
HSVhsv(99, 77%, 63%)
CMYKcmyk(49.4%, 0%, 76.9%, 37.3%)
CIE-LABlab(59.00, -45.48, 52.75)
CIE-LCHlch(59.00, 69.65, 130.77°)
OKLaboklab(63.14% -0.1263 0.1179)
OKLCHoklch(63.14% 0.173 137)
XYZxyz(16.2976, 27.0234, 6.1072)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A025 #7425A0
analogous
#8EA025 #51A025 #25A036
triadic
#51A025 #2551A0 #A02551
tetradic
#51A025 #258EA0 #7425A0 #A03625
square
#51A025 #258EA0 #7425A0 #A03625
split-complementary
#51A025 #3625A0 #A0258E
monochromatic
#1F3D0E #386E1A #51A025 #6BD032 #8FDB64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A025#FFFFFF#000000##000000
##51A0251.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)
#A59207
Deuteranopia (green-blind)
#9B8C32
Tritanopia (blue-blind)
#4C9A89
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #51a025;
/* rgb */ color: rgb(81, 160, 37);
/* oklch */ color: oklch(63.1% 0.173 137.0);
Tailwind
colors: {
  custom: {
    50: '#8abd69',
    500: '#51a025',
    950: '#000000',
  },
}
SCSS
$custom: #51a025;
$custom-light: #8abd69;
$custom-dark: #000000;
JSON
{
  "hex": "#51a025",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 37
  },
  "hsl": {
    "h": 98.537,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.17277,
    "h": 137
  },
  "luminance": 0.27025
}

Semantic roles & 50–950 ramp

primary
#51A025
secondary
#9E60C1
accent
#42E6AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A025

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

Preview Lab → · Contrast checker → · Palette generator →

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