#508E24#508E24

#508E24 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.151 H 135.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#508E24
RGBrgb(80, 142, 36)
HSLhsl(95, 60%, 35%)
HSVhsv(95, 75%, 56%)
CMYKcmyk(43.7%, 0%, 74.6%, 44.3%)
CIE-LABlab(53.14, -38.46, 47.33)
CIE-LCHlch(53.14, 60.98, 129.09°)
OKLaboklab(58.32% -0.1073 0.1065)
OKLCHoklch(58.32% 0.151 135.2)
XYZxyz(13.2994, 21.1781, 5.0557)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E24 #62248E
analogous
#858E24 #508E24 #248E2D
triadic
#508E24 #24508E #8E2450
tetradic
#508E24 #24858E #62248E #8E2D24
square
#508E24 #24858E #62248E #8E2D24
split-complementary
#508E24 #2D248E #8E2485
monochromatic
#192C0B #345D18 #508E24 #6CBF30 #8CD558

Accessibility & contrast

On white

4.01
#508E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#508E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E24
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E24#FFFFFF#000000##000000
##508E241.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938210
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e24;
/* rgb */ color: rgb(80, 142, 36);
/* oklch */ color: oklch(58.3% 0.151 135.2);
Tailwind
colors: {
  custom: {
    50: '#87af66',
    500: '#508e24',
    950: '#000000',
  },
}
SCSS
$custom: #508e24;
$custom-light: #87af66;
$custom-dark: #000000;
JSON
{
  "hex": "#508e24",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 95.094,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.15117,
    "h": 135.2
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#508E24
secondary
#8F55B9
accent
#45E3A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508E24

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

Preview Lab → · Contrast checker → · Palette generator →

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