#509B22#509B22

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

Color values

HEX#509B22
RGBrgb(80, 155, 34)
HSLhsl(97, 64%, 37%)
HSVhsv(97, 78%, 61%)
CMYKcmyk(48.4%, 0%, 78.1%, 39.2%)
CIE-LABlab(57.33, -43.98, 52.13)
CIE-LCHlch(57.33, 68.21, 130.15°)
OKLaboklab(61.75% -0.1224 0.1162)
OKLCHoklch(61.75% 0.169 136.5)
XYZxyz(15.3179, 25.2626, 5.5821)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B22 #6D229B
analogous
#8D9B22 #509B22 #229B31
triadic
#509B22 #22509B #9B2250
tetradic
#509B22 #228D9B #6D229B #9B3122
square
#509B22 #228D9B #6D229B #9B3122
split-complementary
#509B22 #31229B #9B228D
monochromatic
#1C370C #366917 #509B22 #6ACD2D #8CDB5C

Accessibility & contrast

On white

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

On black

6.05
#509B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B22
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B22#FFFFFF#000000##000000
##509B221.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E02
Deuteranopia (green-blind)
#97872F
Tritanopia (blue-blind)
#4C9584
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b22;
/* rgb */ color: rgb(80, 155, 34);
/* oklch */ color: oklch(61.8% 0.169 136.5);
Tailwind
colors: {
  custom: {
    50: '#88b967',
    500: '#509b22',
    950: '#000000',
  },
}
SCSS
$custom: #509b22;
$custom-light: #88b967;
$custom-dark: #000000;
JSON
{
  "hex": "#509b22",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 97.19,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.16875,
    "h": 136.5
  },
  "luminance": 0.25264
}

Semantic roles & 50–950 ramp

primary
#509B22
secondary
#9959C0
accent
#41E7A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509B22

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

Preview Lab → · Contrast checker → · Palette generator →

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