#509B25#509B25

#509B25 is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 61.8% C 0.167 H 136.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#509B25
RGBrgb(80, 155, 37)
HSLhsl(98, 61%, 38%)
HSVhsv(98, 76%, 61%)
CMYKcmyk(48.4%, 0%, 76.1%, 39.2%)
CIE-LABlab(57.35, -43.79, 51.12)
CIE-LCHlch(57.35, 67.31, 130.58°)
OKLaboklab(61.77% -0.1217 0.1145)
OKLCHoklch(61.77% 0.167 136.7)
XYZxyz(15.3631, 25.2807, 5.8200)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B25 #70259B
analogous
#8B9B25 #509B25 #259B35
triadic
#509B25 #25509B #9B2550
tetradic
#509B25 #258B9B #70259B #9B3525
square
#509B25 #258B9B #70259B #9B3525
split-complementary
#509B25 #35259B #9B258B
monochromatic
#1D380D #366A19 #509B25 #69CC31 #8DD961

Accessibility & contrast

On white

3.47
#509B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#509B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B25
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B25#FFFFFF#000000##000000
##509B251.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0B
Deuteranopia (green-blind)
#978731
Tritanopia (blue-blind)
#4C9584
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b25;
/* rgb */ color: rgb(80, 155, 37);
/* oklch */ color: oklch(61.8% 0.167 136.7);
Tailwind
colors: {
  custom: {
    50: '#88b968',
    500: '#509b25',
    950: '#000000',
  },
}
SCSS
$custom: #509b25;
$custom-light: #88b968;
$custom-dark: #000000;
JSON
{
  "hex": "#509b25",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 37
  },
  "hsl": {
    "h": 98.136,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.16709,
    "h": 136.7
  },
  "luminance": 0.25282
}

Semantic roles & 50–950 ramp

primary
#509B25
secondary
#9B5DBF
accent
#43E5AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509B25

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

Preview Lab → · Contrast checker → · Palette generator →

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