#508F19#508F19

#508F19 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.158 H 134.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#508F19
RGBrgb(80, 143, 25)
HSLhsl(92, 70%, 33%)
HSVhsv(92, 83%, 56%)
CMYKcmyk(44.1%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.41, -39.54, 51.28)
CIE-LCHlch(53.41, 64.76, 127.64°)
OKLaboklab(58.51% -0.111 0.113)
OKLCHoklch(58.51% 0.158 134.5)
XYZxyz(13.3059, 21.4198, 4.3528)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F19 #58198F
analogous
#8B8F19 #508F19 #198F1D
triadic
#508F19 #19508F #8F1950
tetradic
#508F19 #198B8F #58198F #8F1D19
square
#508F19 #198B8F #58198F #8F1D19
split-complementary
#508F19 #1D198F #8F198B
monochromatic
#162707 #335B10 #508F19 #6DC322 #8CDE44

Accessibility & contrast

On white

3.97
#508F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#508F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F19
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F19#FFFFFF#000000##000000
##508F191.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#4F897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f19;
/* rgb */ color: rgb(80, 143, 25);
/* oklch */ color: oklch(58.5% 0.158 134.5);
Tailwind
colors: {
  custom: {
    50: '#87b061',
    500: '#508f19',
    950: '#000000',
  },
}
SCSS
$custom: #508f19;
$custom-light: #87b061;
$custom-dark: #000000;
JSON
{
  "hex": "#508f19",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 92.034,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58515,
    "c": 0.15841,
    "h": 134.5
  },
  "luminance": 0.21421
}

Semantic roles & 50–950 ramp

primary
#508F19
secondary
#8644BF
accent
#3BED9A
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #508F19

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

Preview Lab → · Contrast checker → · Palette generator →

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