#509F1F#509F1F

#509F1F is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.8% C 0.175 H 136.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#509F1F
RGBrgb(80, 159, 31)
HSLhsl(97, 67%, 37%)
HSVhsv(97, 81%, 62%)
CMYKcmyk(49.7%, 0%, 80.5%, 37.6%)
CIE-LABlab(58.60, -45.75, 54.29)
CIE-LCHlch(58.60, 71.00, 130.12°)
OKLaboklab(62.79% -0.1273 0.1203)
OKLCHoklch(62.79% 0.175 136.6)
XYZxyz(15.9533, 26.5996, 5.5896)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F1F #6E1F9F
analogous
#909F1F #509F1F #1F9F2E
triadic
#509F1F #1F509F #9F1F50
tetradic
#509F1F #1F909F #6E1F9F #9F2E1F
square
#509F1F #1F909F #6E1F9F #9F2E1F
split-complementary
#509F1F #2E1F9F #9F1F90
monochromatic
#1C390B #366C15 #509F1F #6AD229 #8DDF5A

Accessibility & contrast

On white

3.32
#509F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#509F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F1F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F1F#FFFFFF#000000##000000
##509F1F1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8B2E
Tritanopia (blue-blind)
#4C9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f1f;
/* rgb */ color: rgb(80, 159, 31);
/* oklch */ color: oklch(62.8% 0.175 136.6);
Tailwind
colors: {
  custom: {
    50: '#89bc66',
    500: '#509f1f',
    950: '#000000',
  },
}
SCSS
$custom: #509f1f;
$custom-light: #89bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#509f1f",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 97.031,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62793,
    "c": 0.17514,
    "h": 136.6
  },
  "luminance": 0.26601
}

Semantic roles & 50–950 ramp

primary
#509F1F
secondary
#9A57C3
accent
#3EEAA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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