#508E14#508E14

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

Color values

HEX#508E14
RGBrgb(80, 142, 20)
HSLhsl(90, 75%, 32%)
HSVhsv(90, 86%, 56%)
CMYKcmyk(43.7%, 0%, 85.9%, 44.3%)
CIE-LABlab(53.06, -39.35, 52.34)
CIE-LCHlch(53.06, 65.48, 126.94°)
OKLaboklab(58.23% -0.1108 0.1145)
OKLCHoklch(58.23% 0.159 134.1)
XYZxyz(13.1073, 21.1013, 4.0440)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E14 #52148E
analogous
#8D8E14 #508E14 #148E15
triadic
#508E14 #14508E #8E1450
tetradic
#508E14 #148D8E #52148E #8E1514
square
#508E14 #148D8E #52148E #8E1514
split-complementary
#508E14 #15148E #8E148D
monochromatic
#142305 #32580C #508E14 #6EC41C #8DE339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508E14#FFFFFF#000000##000000
##508E141.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)
#8C7D24
Tritanopia (blue-blind)
#4F8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e14;
/* rgb */ color: rgb(80, 142, 20);
/* oklch */ color: oklch(58.2% 0.159 134.1);
Tailwind
colors: {
  custom: {
    50: '#87af5f',
    500: '#508e14',
    950: '#000000',
  },
}
SCSS
$custom: #508e14;
$custom-light: #87af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#508e14",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 90.492,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.15931,
    "h": 134.1
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#508E14
secondary
#803CC2
accent
#36F295
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508E14

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

Preview Lab → · Contrast checker → · Palette generator →

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