#509A27#509A27

#509A27 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.5% C 0.165 H 136.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#509A27
RGBrgb(80, 154, 39)
HSLhsl(99, 60%, 38%)
HSVhsv(99, 75%, 60%)
CMYKcmyk(48.1%, 0%, 74.7%, 39.6%)
CIE-LABlab(57.04, -43.25, 50.10)
CIE-LCHlch(57.04, 66.18, 130.80°)
OKLaboklab(61.52% -0.1201 0.1127)
OKLCHoklch(61.52% 0.165 136.8)
XYZxyz(15.2296, 24.9621, 5.9347)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A27 #71279A
analogous
#899A27 #509A27 #279A38
triadic
#509A27 #27509A #9A2750
tetradic
#509A27 #27899A #71279A #9A3827
square
#509A27 #27899A #71279A #9A3827
split-complementary
#509A27 #38279A #9A2789
monochromatic
#1D380E #37691B #509A27 #69CB33 #8DD864

Accessibility & contrast

On white

3.50
#509A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#509A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A27
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A27#FFFFFF#000000##000000
##509A271.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D11
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#4C9484
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a27;
/* rgb */ color: rgb(80, 154, 39);
/* oklch */ color: oklch(61.5% 0.165 136.8);
Tailwind
colors: {
  custom: {
    50: '#88b869',
    500: '#509a27',
    950: '#000000',
  },
}
SCSS
$custom: #509a27;
$custom-light: #88b869;
$custom-dark: #000000;
JSON
{
  "hex": "#509a27",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 98.609,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.16466,
    "h": 136.8
  },
  "luminance": 0.24963
}

Semantic roles & 50–950 ramp

primary
#509A27
secondary
#9C5FBD
accent
#45E3AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509A27

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

Preview Lab → · Contrast checker → · Palette generator →

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