#509B2D#509B2D

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

Color values

HEX#509B2D
RGBrgb(80, 155, 45)
HSLhsl(101, 55%, 39%)
HSVhsv(101, 71%, 61%)
CMYKcmyk(48.4%, 0%, 71%, 39.2%)
CIE-LABlab(57.40, -43.20, 48.17)
CIE-LCHlch(57.40, 64.70, 131.89°)
OKLaboklab(61.83% -0.1195 0.1095)
OKLCHoklch(61.83% 0.162 137.5)
XYZxyz(15.5028, 25.3366, 6.5557)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B2D #782D9B
analogous
#879B2D #509B2D #2D9B41
triadic
#509B2D #2D509B #9B2D50
tetradic
#509B2D #2D879B #782D9B #9B412D
square
#509B2D #2D879B #782D9B #9B412D
split-complementary
#509B2D #412D9B #9B2D87
monochromatic
#1F3C11 #386C1F #509B2D #6AC73E #8ED56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509B2D#FFFFFF#000000##000000
##509B2D1.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)
#A08E1C
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#4B9585
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b2d;
/* rgb */ color: rgb(80, 155, 45);
/* oklch */ color: oklch(61.8% 0.162 137.5);
Tailwind
colors: {
  custom: {
    50: '#88b96c',
    500: '#509b2d',
    950: '#000000',
  },
}
SCSS
$custom: #509b2d;
$custom-light: #88b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#509b2d",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 100.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.1621,
    "h": 137.5
  },
  "luminance": 0.25338
}

Semantic roles & 50–950 ramp

primary
#509B2D
secondary
#A168BC
accent
#49DEAF
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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