#508319#508319

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

Color values

HEX#508319
RGBrgb(80, 131, 25)
HSLhsl(89, 68%, 31%)
HSVhsv(89, 81%, 51%)
CMYKcmyk(38.9%, 0%, 80.9%, 48.6%)
CIE-LABlab(49.51, -34.34, 47.67)
CIE-LCHlch(49.51, 58.75, 125.76°)
OKLaboklab(55.32% -0.097 0.1054)
OKLCHoklch(55.32% 0.143 132.6)
XYZxyz(11.5999, 18.0077, 3.7842)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508319 #4C1983
analogous
#838119 #508319 #1B8319
triadic
#508319 #195083 #831950
tetradic
#508319 #198381 #4C1983 #83191B
square
#508319 #198381 #4C1983 #83191B
split-complementary
#508319 #191B83 #811983
monochromatic
#111C05 #31500F #508319 #6FB623 #8EDA3D

Accessibility & contrast

On white

4.56
#508319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508319#FFFFFF#000000##000000
##5083191.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508319;
/* rgb */ color: rgb(80, 131, 25);
/* oklch */ color: oklch(55.3% 0.143 132.6);
Tailwind
colors: {
  custom: {
    50: '#86a75f',
    500: '#508319',
    950: '#000000',
  },
}
SCSS
$custom: #508319;
$custom-light: #86a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#508319",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 88.868,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.14327,
    "h": 132.6
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#508319
secondary
#7A41B7
accent
#3DEB91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #508319

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

Preview Lab → · Contrast checker → · Palette generator →

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