#508F29#508F29

#508F29 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.149 H 135.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#508F29
RGBrgb(80, 143, 41)
HSLhsl(97, 55%, 36%)
HSVhsv(97, 71%, 56%)
CMYKcmyk(44.1%, 0%, 71.3%, 43.9%)
CIE-LABlab(53.50, -38.51, 45.74)
CIE-LCHlch(53.50, 59.79, 130.09°)
OKLaboklab(58.63% -0.1071 0.1039)
OKLCHoklch(58.63% 0.149 135.9)
XYZxyz(13.5306, 21.5097, 5.5362)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F29 #68298F
analogous
#838F29 #508F29 #298F35
triadic
#508F29 #29508F #8F2950
tetradic
#508F29 #29838F #68298F #8F3529
square
#508F29 #29838F #68298F #8F3529
split-complementary
#508F29 #35298F #8F2983
monochromatic
#1B300E #355F1B #508F29 #6BBF37 #8CD261

Accessibility & contrast

On white

3.96
#508F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#508F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F29
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F29#FFFFFF#000000##000000
##508F291.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#4E8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f29;
/* rgb */ color: rgb(80, 143, 41);
/* oklch */ color: oklch(58.6% 0.149 135.9);
Tailwind
colors: {
  custom: {
    50: '#87b069',
    500: '#508f29',
    950: '#000000',
  },
}
SCSS
$custom: #508f29;
$custom-light: #87b069;
$custom-dark: #000000;
JSON
{
  "hex": "#508f29",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 97.059,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.14919,
    "h": 135.9
  },
  "luminance": 0.2151
}

Semantic roles & 50–950 ramp

primary
#508F29
secondary
#955CB7
accent
#49DFA6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #508F29

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

Preview Lab → · Contrast checker → · Palette generator →

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