#508F1E#508F1E

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

Color values

HEX#508F1E
RGBrgb(80, 143, 30)
HSLhsl(93, 65%, 34%)
HSVhsv(93, 79%, 56%)
CMYKcmyk(44.1%, 0%, 79%, 43.9%)
CIE-LABlab(53.43, -39.27, 49.74)
CIE-LCHlch(53.43, 63.37, 128.29°)
OKLaboklab(58.54% -0.1099 0.1106)
OKLCHoklch(58.54% 0.156 134.8)
XYZxyz(13.3648, 21.4434, 4.6628)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F1E #5D1E8F
analogous
#898F1E #508F1E #1E8F24
triadic
#508F1E #1E508F #8F1E50
tetradic
#508F1E #1E898F #5D1E8F #8F241E
square
#508F1E #1E898F #5D1E8F #8F241E
split-complementary
#508F1E #241E8F #8F1E89
monochromatic
#172A09 #345C13 #508F1E #6CC229 #8CDA4E

Accessibility & contrast

On white

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

On black

5.29
#508F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F1E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F1E#FFFFFF#000000##000000
##508F1E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508f1e;
/* rgb */ color: rgb(80, 143, 30);
/* oklch */ color: oklch(58.5% 0.156 134.8);
Tailwind
colors: {
  custom: {
    50: '#87b063',
    500: '#508f1e',
    950: '#000000',
  },
}
SCSS
$custom: #508f1e;
$custom-light: #87b063;
$custom-dark: #000000;
JSON
{
  "hex": "#508f1e",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 93.451,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58544,
    "c": 0.15592,
    "h": 134.8
  },
  "luminance": 0.21444
}

Semantic roles & 50–950 ramp

primary
#508F1E
secondary
#8B4CBC
accent
#40E89E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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