#508A29#508A29

#508A29 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.143 H 135.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#508A29
RGBrgb(80, 138, 41)
HSLhsl(96, 54%, 35%)
HSVhsv(96, 70%, 54%)
CMYKcmyk(42%, 0%, 70.3%, 45.9%)
CIE-LABlab(51.88, -36.34, 44.06)
CIE-LCHlch(51.88, 57.11, 129.52°)
OKLaboklab(57.3% -0.1012 0.1003)
OKLCHoklch(57.3% 0.143 135.3)
XYZxyz(12.7967, 20.0418, 5.2916)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A29 #63298A
analogous
#818A29 #508A29 #298A32
triadic
#508A29 #29508A #8A2950
tetradic
#508A29 #29818A #63298A #8A3229
square
#508A29 #29818A #63298A #8A3229
split-complementary
#508A29 #32298A #8A2981
monochromatic
#192C0D #355B1B #508A29 #6BB937 #8CCF5E

Accessibility & contrast

On white

4.19
#508A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#508A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A29
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A29#FFFFFF#000000##000000
##508A291.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1B
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#4F8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a29;
/* rgb */ color: rgb(80, 138, 41);
/* oklch */ color: oklch(57.3% 0.143 135.3);
Tailwind
colors: {
  custom: {
    50: '#86ac68',
    500: '#508a29',
    950: '#000000',
  },
}
SCSS
$custom: #508a29;
$custom-light: #86ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#508a29",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 95.876,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.573,
    "c": 0.14252,
    "h": 135.3
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#508A29
secondary
#905AB5
accent
#4ADEA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508A29

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

Preview Lab → · Contrast checker → · Palette generator →

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