#508E29#508E29

#508E29 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.148 H 135.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#508E29
RGBrgb(80, 142, 41)
HSLhsl(97, 55%, 36%)
HSVhsv(97, 71%, 56%)
CMYKcmyk(43.7%, 0%, 71.1%, 44.3%)
CIE-LABlab(53.18, -38.08, 45.40)
CIE-LCHlch(53.18, 59.26, 129.98°)
OKLaboklab(58.36% -0.1059 0.1032)
OKLCHoklch(58.36% 0.148 135.8)
XYZxyz(13.3812, 21.2108, 5.4864)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E29 #67298E
analogous
#828E29 #508E29 #298E35
triadic
#508E29 #29508E #8E2950
tetradic
#508E29 #29828E #67298E #8E3529
square
#508E29 #29828E #67298E #8E3529
split-complementary
#508E29 #35298E #8E2982
monochromatic
#1A2F0E #355F1B #508E29 #6BBD37 #8CD160

Accessibility & contrast

On white

4.01
#508E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#508E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E29
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E29#FFFFFF#000000##000000
##508E291.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#4E897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e29;
/* rgb */ color: rgb(80, 142, 41);
/* oklch */ color: oklch(58.4% 0.148 135.8);
Tailwind
colors: {
  custom: {
    50: '#86af69',
    500: '#508e29',
    950: '#000000',
  },
}
SCSS
$custom: #508e29;
$custom-light: #86af69;
$custom-dark: #000000;
JSON
{
  "hex": "#508e29",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 96.832,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.14787,
    "h": 135.8
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#508E29
secondary
#945CB7
accent
#49DFA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #508E29

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

Preview Lab → · Contrast checker → · Palette generator →

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