#509125#509125

#509125 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.1% C 0.154 H 135.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#509125
RGBrgb(80, 145, 37)
HSLhsl(96, 59%, 36%)
HSVhsv(96, 74%, 57%)
CMYKcmyk(44.8%, 0%, 74.5%, 43.1%)
CIE-LABlab(54.12, -39.66, 47.93)
CIE-LCHlch(54.12, 62.21, 129.61°)
OKLaboklab(59.12% -0.1105 0.1079)
OKLCHoklch(59.12% 0.154 135.7)
XYZxyz(13.7673, 22.0890, 5.2881)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509125 #662591
analogous
#869125 #509125 #259130
triadic
#509125 #255091 #912550
tetradic
#509125 #258691 #662591 #913025
square
#509125 #258691 #662591 #913025
split-complementary
#509125 #302591 #912586
monochromatic
#1A2F0C #356019 #509125 #6BC231 #8CD55B

Accessibility & contrast

On white

3.88
#509125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#509125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509125
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509125#FFFFFF#000000##000000
##5091251.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968511
Deuteranopia (green-blind)
#8E7F30
Tritanopia (blue-blind)
#4E8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #509125;
/* rgb */ color: rgb(80, 145, 37);
/* oklch */ color: oklch(59.1% 0.154 135.7);
Tailwind
colors: {
  custom: {
    50: '#87b267',
    500: '#509125',
    950: '#000000',
  },
}
SCSS
$custom: #509125;
$custom-light: #87b267;
$custom-dark: #000000;
JSON
{
  "hex": "#509125",
  "rgb": {
    "r": 80,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 96.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.15442,
    "h": 135.7
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#509125
secondary
#9358BA
accent
#45E3A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509125

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

Preview Lab → · Contrast checker → · Palette generator →

#509125 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva