#508D14#508D14

#508D14 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.158 H 133.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#508D14
RGBrgb(80, 141, 20)
HSLhsl(90, 75%, 32%)
HSVhsv(90, 86%, 55%)
CMYKcmyk(43.3%, 0%, 85.8%, 44.7%)
CIE-LABlab(52.74, -38.93, 52.05)
CIE-LCHlch(52.74, 65.00, 126.79°)
OKLaboklab(57.96% -0.1096 0.1139)
OKLCHoklch(57.96% 0.158 133.9)
XYZxyz(12.9592, 20.8050, 3.9946)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D14 #51148D
analogous
#8D8D14 #508D14 #148D15
triadic
#508D14 #14508D #8D1450
tetradic
#508D14 #148D8D #51148D #8D1514
square
#508D14 #148D8D #51148D #8D1514
split-complementary
#508D14 #15148D #8D148D
monochromatic
#132205 #32570C #508D14 #6EC31C #8DE339

Accessibility & contrast

On white

4.07
#508D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#508D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D14
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D14#FFFFFF#000000##000000
##508D141.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#4F8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508d14;
/* rgb */ color: rgb(80, 141, 20);
/* oklch */ color: oklch(58.0% 0.158 133.9);
Tailwind
colors: {
  custom: {
    50: '#87af5f',
    500: '#508d14',
    950: '#000000',
  },
}
SCSS
$custom: #508d14;
$custom-light: #87af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#508d14",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 90.248,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.15809,
    "h": 133.9
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#508D14
secondary
#7F3CC1
accent
#36F295
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508D14

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

Preview Lab → · Contrast checker → · Palette generator →

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