#509B2E#509B2E

#509B2E is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.8% C 0.161 H 137.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#509B2E
RGBrgb(80, 155, 46)
HSLhsl(101, 54%, 39%)
HSVhsv(101, 70%, 61%)
CMYKcmyk(48.4%, 0%, 70.3%, 39.2%)
CIE-LABlab(57.41, -43.12, 47.77)
CIE-LCHlch(57.41, 64.35, 132.07°)
OKLaboklab(61.84% -0.1192 0.1088)
OKLCHoklch(61.84% 0.161 137.6)
XYZxyz(15.5223, 25.3444, 6.6583)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B2E #792E9B
analogous
#879B2E #509B2E #2E9B42
triadic
#509B2E #2E509B #9B2E50
tetradic
#509B2E #2E879B #792E9B #9B422E
square
#509B2E #2E879B #792E9B #9B422E
split-complementary
#509B2E #422E9B #9B2E87
monochromatic
#1F3D12 #386C20 #509B2E #6AC640 #8FD46F

Accessibility & contrast

On white

3.46
#509B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#509B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B2E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B2E#FFFFFF#000000##000000
##509B2E1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1E
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#4B9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b2e;
/* rgb */ color: rgb(80, 155, 46);
/* oklch */ color: oklch(61.8% 0.161 137.6);
Tailwind
colors: {
  custom: {
    50: '#88b96d',
    500: '#509b2e',
    950: '#000000',
  },
}
SCSS
$custom: #509b2e;
$custom-light: #88b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#509b2e",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 101.284,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61843,
    "c": 0.16142,
    "h": 137.6
  },
  "luminance": 0.25345
}

Semantic roles & 50–950 ramp

primary
#509B2E
secondary
#A269BC
accent
#4ADEB0
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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