#509E1F#509E1F

#509E1F is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.5% C 0.174 H 136.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#509E1F
RGBrgb(80, 158, 31)
HSLhsl(97, 67%, 37%)
HSVhsv(97, 80%, 62%)
CMYKcmyk(49.4%, 0%, 80.4%, 38%)
CIE-LABlab(58.28, -45.36, 53.99)
CIE-LCHlch(58.28, 70.51, 130.03°)
OKLaboklab(62.53% -0.1262 0.1196)
OKLCHoklch(62.53% 0.174 136.5)
XYZxyz(15.7820, 26.2570, 5.5326)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509E1F #6D1F9E
analogous
#909E1F #509E1F #1F9E2D
triadic
#509E1F #1F509E #9E1F50
tetradic
#509E1F #1F909E #6D1F9E #9E2D1F
square
#509E1F #1F909E #6D1F9E #9E2D1F
split-complementary
#509E1F #2D1F9E #9E1F90
monochromatic
#1C380B #366B15 #509E1F #6AD129 #8CDE59

Accessibility & contrast

On white

3.36
#509E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#509E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509E1F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509E1F#FFFFFF#000000##000000
##509E1F1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#998A2E
Tritanopia (blue-blind)
#4C9887
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509e1f;
/* rgb */ color: rgb(80, 158, 31);
/* oklch */ color: oklch(62.5% 0.174 136.5);
Tailwind
colors: {
  custom: {
    50: '#89bb66',
    500: '#509e1f',
    950: '#000000',
  },
}
SCSS
$custom: #509e1f;
$custom-light: #89bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#509e1f",
  "rgb": {
    "r": 80,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 96.85,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62529,
    "c": 0.17393,
    "h": 136.5
  },
  "luminance": 0.26258
}

Semantic roles & 50–950 ramp

primary
#509E1F
secondary
#9956C2
accent
#3EEAA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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