#509239#509239

#509239 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.6% C 0.141 H 138.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#509239
RGBrgb(80, 146, 57)
HSLhsl(104, 44%, 40%)
HSVhsv(104, 61%, 57%)
CMYKcmyk(45.2%, 0%, 61%, 42.7%)
CIE-LABlab(54.61, -38.28, 39.88)
CIE-LCHlch(54.61, 55.28, 133.83°)
OKLaboklab(59.58% -0.1053 0.0934)
OKLCHoklch(59.58% 0.141 138.4)
XYZxyz(14.3252, 22.5578, 7.4693)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509239 #7B3992
analogous
#7D9239 #509239 #39924E
triadic
#509239 #395092 #923950
tetradic
#509239 #397D92 #7B3992 #924E39
square
#509239 #397D92 #7B3992 #924E39
split-complementary
#509239 #4E3992 #92397D
monochromatic
#203A17 #386628 #509239 #6ABA4E #8FCB7A

Accessibility & contrast

On white

3.81
#509239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#509239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509239
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509239#FFFFFF#000000##000000
##5092391.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862F
Deuteranopia (green-blind)
#8D8140
Tritanopia (blue-blind)
#4C8D7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #509239;
/* rgb */ color: rgb(80, 146, 57);
/* oklch */ color: oklch(59.6% 0.141 138.4);
Tailwind
colors: {
  custom: {
    50: '#86b273',
    500: '#509239',
    950: '#000000',
  },
}
SCSS
$custom: #509239;
$custom-light: #86b273;
$custom-dark: #000000;
JSON
{
  "hex": "#509239",
  "rgb": {
    "r": 80,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 104.494,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59582,
    "c": 0.14076,
    "h": 138.4
  },
  "luminance": 0.22559
}

Semantic roles & 50–950 ramp

primary
#509239
secondary
#A372B4
accent
#54D4B3
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1108
muted
#7D807B

Preview Lab

Preview with #509239

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

Preview Lab → · Contrast checker → · Palette generator →

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