#509A38#509A38

#509A38 is a mid, vivid green. Relative luminance 0.251; OKLCH L 61.7% C 0.153 H 138.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#509A38
RGBrgb(80, 154, 56)
HSLhsl(105, 47%, 41%)
HSVhsv(105, 64%, 60%)
CMYKcmyk(48.1%, 0%, 63.6%, 39.6%)
CIE-LABlab(57.17, -41.78, 43.22)
CIE-LCHlch(57.17, 60.12, 134.03°)
OKLaboklab(61.68% -0.1149 0.1004)
OKLCHoklch(61.68% 0.153 138.9)
XYZxyz(15.5771, 25.1011, 7.7648)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A38 #82389A
analogous
#819A38 #509A38 #389A51
triadic
#509A38 #38509A #9A3850
tetradic
#509A38 #38819A #82389A #9A5138
square
#509A38 #38819A #82389A #9A5138
split-complementary
#509A38 #51389A #9A3881
monochromatic
#214017 #396D28 #509A38 #6BBF50 #91D07D

Accessibility & contrast

On white

3.49
#509A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#509A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A38
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A38#FFFFFF#000000##000000
##509A381.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2D
Deuteranopia (green-blind)
#958740
Tritanopia (blue-blind)
#4A9585
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a38;
/* rgb */ color: rgb(80, 154, 56);
/* oklch */ color: oklch(61.7% 0.153 138.9);
Tailwind
colors: {
  custom: {
    50: '#87b873',
    500: '#509a38',
    950: '#000000',
  },
}
SCSS
$custom: #509a38;
$custom-light: #87b873;
$custom-dark: #000000;
JSON
{
  "hex": "#509a38",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 56
  },
  "hsl": {
    "h": 105.306,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61677,
    "c": 0.15261,
    "h": 138.9
  },
  "luminance": 0.25102
}

Semantic roles & 50–950 ramp

primary
#509A38
secondary
#A875B9
accent
#51D6B6
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1108
muted
#7D807B

Preview Lab

Preview with #509A38

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

Preview Lab → · Contrast checker → · Palette generator →

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