#509D25#509D25

#509D25 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.3% C 0.170 H 136.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#509D25
RGBrgb(80, 157, 37)
HSLhsl(99, 62%, 38%)
HSVhsv(99, 76%, 62%)
CMYKcmyk(49%, 0%, 76.4%, 38.4%)
CIE-LABlab(57.99, -44.60, 51.75)
CIE-LCHlch(57.99, 68.32, 130.75°)
OKLaboklab(62.3% -0.1238 0.1158)
OKLCHoklch(62.3% 0.17 136.9)
XYZxyz(15.6987, 25.9519, 5.9319)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D25 #72259D
analogous
#8C9D25 #509D25 #259D36
triadic
#509D25 #25509D #9D2550
tetradic
#509D25 #258C9D #72259D #9D3625
square
#509D25 #258C9D #72259D #9D3625
split-complementary
#509D25 #36259D #9D258C
monochromatic
#1E3A0E #376B19 #509D25 #69CE31 #8DDA62

Accessibility & contrast

On white

3.39
#509D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#509D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D25
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D25#FFFFFF#000000##000000
##509D251.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0A
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d25;
/* rgb */ color: rgb(80, 157, 37);
/* oklch */ color: oklch(62.3% 0.170 136.9);
Tailwind
colors: {
  custom: {
    50: '#89ba69',
    500: '#509d25',
    950: '#000000',
  },
}
SCSS
$custom: #509d25;
$custom-light: #89ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#509d25",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 37
  },
  "hsl": {
    "h": 98.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62302,
    "c": 0.16957,
    "h": 136.9
  },
  "luminance": 0.25953
}

Semantic roles & 50–950 ramp

primary
#509D25
secondary
#9D5EBF
accent
#43E5AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509D25

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

Preview Lab → · Contrast checker → · Palette generator →

#509D25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva