#508E16#508E16

#508E16 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.159 H 134.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#508E16
RGBrgb(80, 142, 22)
HSLhsl(91, 73%, 32%)
HSVhsv(91, 85%, 56%)
CMYKcmyk(43.7%, 0%, 84.5%, 44.3%)
CIE-LABlab(53.07, -39.26, 51.82)
CIE-LCHlch(53.07, 65.02, 127.15°)
OKLaboklab(58.23% -0.1104 0.1137)
OKLCHoklch(58.23% 0.159 134.2)
XYZxyz(13.1258, 21.1087, 4.1417)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E16 #54168E
analogous
#8C8E16 #508E16 #168E18
triadic
#508E16 #16508E #8E1650
tetradic
#508E16 #168C8E #54168E #8E1816
square
#508E16 #168C8E #54168E #8E1816
split-complementary
#508E16 #18168E #8E168C
monochromatic
#142406 #32590E #508E16 #6EC31E #8CE13D

Accessibility & contrast

On white

4.02
#508E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#508E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E16
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E16#FFFFFF#000000##000000
##508E161.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#4F8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e16;
/* rgb */ color: rgb(80, 142, 22);
/* oklch */ color: oklch(58.2% 0.159 134.2);
Tailwind
colors: {
  custom: {
    50: '#87af60',
    500: '#508e16',
    950: '#000000',
  },
}
SCSS
$custom: #508e16;
$custom-light: #87af60;
$custom-dark: #000000;
JSON
{
  "hex": "#508e16",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 91,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.1585,
    "h": 134.2
  },
  "luminance": 0.21109
}

Semantic roles & 50–950 ramp

primary
#508E16
secondary
#823FC1
accent
#38F097
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #508E16

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

Preview Lab → · Contrast checker → · Palette generator →

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