#508A24#508A24

#508A24 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.146 H 134.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#508A24
RGBrgb(80, 138, 36)
HSLhsl(94, 59%, 34%)
HSVhsv(94, 74%, 54%)
CMYKcmyk(42%, 0%, 73.9%, 45.9%)
CIE-LABlab(51.85, -36.73, 46.03)
CIE-LCHlch(51.85, 58.89, 128.59°)
OKLaboklab(57.26% -0.1027 0.1037)
OKLCHoklch(57.26% 0.146 134.7)
XYZxyz(12.7149, 20.0091, 4.8609)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A24 #5E248A
analogous
#838A24 #508A24 #248A2B
triadic
#508A24 #24508A #8A2450
tetradic
#508A24 #24838A #5E248A #8A2B24
square
#508A24 #24838A #5E248A #8A2B24
split-complementary
#508A24 #2B248A #8A2483
monochromatic
#18290B #345917 #508A24 #6CBB31 #8CD356

Accessibility & contrast

On white

4.20
#508A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#508A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A24
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A24#FFFFFF#000000##000000
##508A241.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F12
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#4F8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a24;
/* rgb */ color: rgb(80, 138, 36);
/* oklch */ color: oklch(57.3% 0.146 134.7);
Tailwind
colors: {
  custom: {
    50: '#86ac66',
    500: '#508a24',
    950: '#000000',
  },
}
SCSS
$custom: #508a24;
$custom-light: #86ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#508a24",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 94.118,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.14594,
    "h": 134.7
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#508A24
secondary
#8C53B7
accent
#46E29F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508A24

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

Preview Lab → · Contrast checker → · Palette generator →

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