#509231#509231

#509231 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.5% C 0.147 H 137.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#509231
RGBrgb(80, 146, 49)
HSLhsl(101, 50%, 38%)
HSVhsv(101, 66%, 57%)
CMYKcmyk(45.2%, 0%, 66.4%, 42.7%)
CIE-LABlab(54.54, -39.10, 43.45)
CIE-LCHlch(54.54, 58.45, 131.98°)
OKLaboklab(59.49% -0.1081 0.1001)
OKLCHoklch(59.49% 0.147 137.2)
XYZxyz(14.1411, 22.4841, 6.4999)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509231 #733192
analogous
#809231 #509231 #319242
triadic
#509231 #315092 #923150
tetradic
#509231 #318092 #733192 #924231
square
#509231 #318092 #733192 #924231
split-complementary
#509231 #423192 #923180
monochromatic
#1E3612 #376422 #509231 #69BF41 #8DCF6F

Accessibility & contrast

On white

3.82
#509231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#509231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509231
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509231#FFFFFF#000000##000000
##5092311.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978625
Deuteranopia (green-blind)
#8E8039
Tritanopia (blue-blind)
#4C8D7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #509231;
/* rgb */ color: rgb(80, 146, 49);
/* oklch */ color: oklch(59.5% 0.147 137.2);
Tailwind
colors: {
  custom: {
    50: '#87b26e',
    500: '#509231',
    950: '#000000',
  },
}
SCSS
$custom: #509231;
$custom-light: #87b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#509231",
  "rgb": {
    "r": 80,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 100.825,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.14733,
    "h": 137.2
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#509231
secondary
#9D69B6
accent
#4FD9AD
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509231

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

Preview Lab → · Contrast checker → · Palette generator →

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