#509A1F#509A1F

#509A1F is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.5% C 0.169 H 136.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#509A1F
RGBrgb(80, 154, 31)
HSLhsl(96, 66%, 36%)
HSVhsv(96, 80%, 60%)
CMYKcmyk(48.1%, 0%, 79.9%, 39.6%)
CIE-LABlab(56.99, -43.76, 52.78)
CIE-LCHlch(56.99, 68.56, 129.66°)
OKLaboklab(61.47% -0.122 0.1171)
OKLCHoklch(61.47% 0.169 136.2)
XYZxyz(15.1108, 24.9146, 5.3088)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A1F #691F9A
analogous
#8E9A1F #509A1F #1F9A2C
triadic
#509A1F #1F509A #9A1F50
tetradic
#509A1F #1F8E9A #691F9A #9A2C1F
square
#509A1F #1F8E9A #691F9A #9A2C1F
split-complementary
#509A1F #2C1F9A #9A1F8E
monochromatic
#1B340A #366715 #509A1F #6ACD29 #8CDD56

Accessibility & contrast

On white

3.51
#509A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#509A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A1F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A1F#FFFFFF#000000##000000
##509A1F1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#4D9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a1f;
/* rgb */ color: rgb(80, 154, 31);
/* oklch */ color: oklch(61.5% 0.169 136.2);
Tailwind
colors: {
  custom: {
    50: '#88b865',
    500: '#509a1f',
    950: '#000000',
  },
}
SCSS
$custom: #509a1f;
$custom-light: #88b865;
$custom-dark: #000000;
JSON
{
  "hex": "#509a1f",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 96.098,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.16908,
    "h": 136.2
  },
  "luminance": 0.24916
}

Semantic roles & 50–950 ramp

primary
#509A1F
secondary
#9554C1
accent
#3EE9A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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