#508310#508310

#508310 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.147 H 132.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#508310
RGBrgb(80, 131, 16)
HSLhsl(87, 78%, 29%)
HSVhsv(87, 88%, 51%)
CMYKcmyk(38.9%, 0%, 87.8%, 48.6%)
CIE-LABlab(49.47, -34.75, 50.19)
CIE-LCHlch(49.47, 61.04, 124.70°)
OKLaboklab(55.28% -0.0987 0.1093)
OKLCHoklch(55.28% 0.147 132.1)
XYZxyz(11.5180, 17.9750, 3.3527)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508310 #431083
analogous
#837D10 #508310 #168310
triadic
#508310 #105083 #831050
tetradic
#508310 #10837D #431083 #831016
square
#508310 #10837D #431083 #831016
split-complementary
#508310 #101683 #7D1083
monochromatic
#111B03 #2F4C09 #508310 #71BA17 #91E529

Accessibility & contrast

On white

4.57
#508310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#508310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508310
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508310#FFFFFF#000000##000000
##5083101.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#517D6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508310;
/* rgb */ color: rgb(80, 131, 16);
/* oklch */ color: oklch(55.3% 0.147 132.1);
Tailwind
colors: {
  custom: {
    50: '#86a75c',
    500: '#508310',
    950: '#000000',
  },
}
SCSS
$custom: #508310;
$custom-light: #86a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#508310",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 86.609,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55275,
    "c": 0.14726,
    "h": 132.1
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#508310
secondary
#7036B9
accent
#33F589
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #508310

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

Preview Lab → · Contrast checker → · Palette generator →

#508310 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva