#508E30#508E30

#508E30 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.143 H 136.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#508E30
RGBrgb(80, 142, 48)
HSLhsl(100, 49%, 37%)
HSVhsv(100, 66%, 56%)
CMYKcmyk(43.7%, 0%, 66.2%, 44.3%)
CIE-LABlab(53.24, -37.47, 42.48)
CIE-LCHlch(53.24, 56.64, 131.41°)
OKLaboklab(58.43% -0.1038 0.0979)
OKLCHoklch(58.43% 0.143 136.7)
XYZxyz(13.5144, 21.2641, 6.1880)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E30 #6E308E
analogous
#7F8E30 #508E30 #308E3F
triadic
#508E30 #30508E #8E3050
tetradic
#508E30 #307F8E #6E308E #8E3F30
square
#508E30 #307F8E #6E308E #8E3F30
split-complementary
#508E30 #3F308E #8E307F
monochromatic
#1C3311 #366021 #508E30 #6ABC3F #8DCD6B

Accessibility & contrast

On white

4.00
#508E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#508E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E30
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E30#FFFFFF#000000##000000
##508E301.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938224
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#4D897B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e30;
/* rgb */ color: rgb(80, 142, 48);
/* oklch */ color: oklch(58.4% 0.143 136.7);
Tailwind
colors: {
  custom: {
    50: '#86af6d',
    500: '#508e30',
    950: '#000000',
  },
}
SCSS
$custom: #508e30;
$custom-light: #86af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#508e30",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 99.574,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58427,
    "c": 0.14267,
    "h": 136.7
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#508E30
secondary
#9A65B4
accent
#4FD9AA
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #508E30

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

Preview Lab → · Contrast checker → · Palette generator →

#508E30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva