#508E13#508E13

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

Color values

HEX#508E13
RGBrgb(80, 142, 19)
HSLhsl(90, 76%, 32%)
HSVhsv(90, 87%, 56%)
CMYKcmyk(43.7%, 0%, 86.6%, 44.3%)
CIE-LABlab(53.06, -39.39, 52.59)
CIE-LCHlch(53.06, 65.70, 126.84°)
OKLaboklab(58.22% -0.1109 0.1149)
OKLCHoklch(58.22% 0.16 134)
XYZxyz(13.0986, 21.0978, 3.9981)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E13 #51138E
analogous
#8E8E13 #508E13 #138E14
triadic
#508E13 #13508E #8E1350
tetradic
#508E13 #138E8E #51138E #8E1413
square
#508E13 #138E8E #51138E #8E1413
split-complementary
#508E13 #14138E #8E138E
monochromatic
#132205 #32580C #508E13 #6EC41A #8DE437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508E13#FFFFFF#000000##000000
##508E131.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)
#8C7D23
Tritanopia (blue-blind)
#4F8878
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e13;
/* rgb */ color: rgb(80, 142, 19);
/* oklch */ color: oklch(58.2% 0.160 134.0);
Tailwind
colors: {
  custom: {
    50: '#87af5f',
    500: '#508e13',
    950: '#000000',
  },
}
SCSS
$custom: #508e13;
$custom-light: #87af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#508e13",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 90.244,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5822,
    "c": 0.1597,
    "h": 134
  },
  "luminance": 0.21098
}

Semantic roles & 50–950 ramp

primary
#508E13
secondary
#7F3BC2
accent
#35F395
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508E13

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

Preview Lab → · Contrast checker → · Palette generator →

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