#508D29#508D29

#508D29 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.147 H 135.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#508D29
RGBrgb(80, 141, 41)
HSLhsl(97, 55%, 36%)
HSVhsv(97, 71%, 55%)
CMYKcmyk(43.3%, 0%, 70.9%, 44.7%)
CIE-LABlab(52.86, -37.65, 45.07)
CIE-LCHlch(52.86, 58.72, 129.87°)
OKLaboklab(58.1% -0.1048 0.1024)
OKLCHoklch(58.1% 0.147 135.6)
XYZxyz(13.2331, 20.9146, 5.4370)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D29 #66298D
analogous
#828D29 #508D29 #298D34
triadic
#508D29 #29508D #8D2950
tetradic
#508D29 #29828D #66298D #8D3429
square
#508D29 #29828D #66298D #8D3429
split-complementary
#508D29 #34298D #8D2982
monochromatic
#1A2E0D #355E1B #508D29 #6BBC37 #8CD160

Accessibility & contrast

On white

4.05
#508D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#508D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D29
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D29#FFFFFF#000000##000000
##508D291.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508d29;
/* rgb */ color: rgb(80, 141, 41);
/* oklch */ color: oklch(58.1% 0.147 135.6);
Tailwind
colors: {
  custom: {
    50: '#86af69',
    500: '#508d29',
    950: '#000000',
  },
}
SCSS
$custom: #508d29;
$custom-light: #86af69;
$custom-dark: #000000;
JSON
{
  "hex": "#508d29",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 96.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58095,
    "c": 0.14654,
    "h": 135.6
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#508D29
secondary
#935BB6
accent
#4ADEA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #508D29

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

Preview Lab → · Contrast checker → · Palette generator →

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