#508E1E#508E1E

#508E1E is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.155 H 134.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#508E1E
RGBrgb(80, 142, 30)
HSLhsl(93, 65%, 34%)
HSVhsv(93, 79%, 56%)
CMYKcmyk(43.7%, 0%, 78.9%, 44.3%)
CIE-LABlab(53.11, -38.85, 49.43)
CIE-LCHlch(53.11, 62.87, 128.16°)
OKLaboklab(58.28% -0.1088 0.1099)
OKLCHoklch(58.28% 0.155 134.7)
XYZxyz(13.2153, 21.1445, 4.6130)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E1E #5C1E8E
analogous
#888E1E #508E1E #1E8E24
triadic
#508E1E #1E508E #8E1E50
tetradic
#508E1E #1E888E #5C1E8E #8E241E
square
#508E1E #1E888E #5C1E8E #8E241E
split-complementary
#508E1E #241E8E #8E1E88
monochromatic
#172909 #345B13 #508E1E #6CC129 #8CD94D

Accessibility & contrast

On white

4.02
#508E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#508E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E1E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E1E#FFFFFF#000000##000000
##508E1E1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948201
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#4F8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e1e;
/* rgb */ color: rgb(80, 142, 30);
/* oklch */ color: oklch(58.3% 0.155 134.7);
Tailwind
colors: {
  custom: {
    50: '#87af63',
    500: '#508e1e',
    950: '#000000',
  },
}
SCSS
$custom: #508e1e;
$custom-light: #87af63;
$custom-dark: #000000;
JSON
{
  "hex": "#508e1e",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 93.214,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.15467,
    "h": 134.7
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#508E1E
secondary
#8A4CBC
accent
#40E89D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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