#508F24#508F24

#508F24 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.152 H 135.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#508F24
RGBrgb(80, 143, 36)
HSLhsl(95, 60%, 35%)
HSVhsv(95, 75%, 56%)
CMYKcmyk(44.1%, 0%, 74.8%, 43.9%)
CIE-LABlab(53.47, -38.88, 47.65)
CIE-LCHlch(53.47, 61.50, 129.21°)
OKLaboklab(58.59% -0.1085 0.1071)
OKLCHoklch(58.59% 0.152 135.4)
XYZxyz(13.4488, 21.4770, 5.1056)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F24 #63248F
analogous
#868F24 #508F24 #248F2D
triadic
#508F24 #24508F #8F2450
tetradic
#508F24 #24868F #63248F #8F2D24
square
#508F24 #24868F #63248F #8F2D24
split-complementary
#508F24 #2D248F #8F2486
monochromatic
#192D0B #355E18 #508F24 #6BC030 #8CD558

Accessibility & contrast

On white

3.97
#508F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#508F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F24
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F24#FFFFFF#000000##000000
##508F241.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948310
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#4E897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f24;
/* rgb */ color: rgb(80, 143, 36);
/* oklch */ color: oklch(58.6% 0.152 135.4);
Tailwind
colors: {
  custom: {
    50: '#87b066',
    500: '#508f24',
    950: '#000000',
  },
}
SCSS
$custom: #508f24;
$custom-light: #87b066;
$custom-dark: #000000;
JSON
{
  "hex": "#508f24",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 95.327,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.15246,
    "h": 135.4
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#508F24
secondary
#9055B9
accent
#45E3A2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508F24

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

Preview Lab → · Contrast checker → · Palette generator →

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