#509C25#509C25

#509C25 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.0% C 0.168 H 136.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#509C25
RGBrgb(80, 156, 37)
HSLhsl(98, 62%, 38%)
HSVhsv(98, 76%, 61%)
CMYKcmyk(48.7%, 0%, 76.3%, 38.8%)
CIE-LABlab(57.67, -44.19, 51.44)
CIE-LCHlch(57.67, 67.82, 130.67°)
OKLaboklab(62.04% -0.1227 0.1152)
OKLCHoklch(62.04% 0.168 136.8)
XYZxyz(15.5302, 25.6149, 5.8757)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509C25 #71259C
analogous
#8C9C25 #509C25 #259C35
triadic
#509C25 #25509C #9C2550
tetradic
#509C25 #258C9C #71259C #9C3525
square
#509C25 #258C9C #71259C #9C3525
split-complementary
#509C25 #35259C #9C258C
monochromatic
#1D390E #376B19 #509C25 #69CD31 #8DDA62

Accessibility & contrast

On white

3.43
#509C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#509C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509C25
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509C25#FFFFFF#000000##000000
##509C251.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0A
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#4C9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509c25;
/* rgb */ color: rgb(80, 156, 37);
/* oklch */ color: oklch(62.0% 0.168 136.8);
Tailwind
colors: {
  custom: {
    50: '#88ba68',
    500: '#509c25',
    950: '#000000',
  },
}
SCSS
$custom: #509c25;
$custom-light: #88ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#509c25",
  "rgb": {
    "r": 80,
    "g": 156,
    "b": 37
  },
  "hsl": {
    "h": 98.319,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.16833,
    "h": 136.8
  },
  "luminance": 0.25616
}

Semantic roles & 50–950 ramp

primary
#509C25
secondary
#9C5EBF
accent
#43E5AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509C25

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

Preview Lab → · Contrast checker → · Palette generator →

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