#508B29#508B29

#508B29 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.6% C 0.144 H 135.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#508B29
RGBrgb(80, 139, 41)
HSLhsl(96, 54%, 35%)
HSVhsv(96, 71%, 55%)
CMYKcmyk(42.4%, 0%, 70.5%, 45.5%)
CIE-LABlab(52.21, -36.78, 44.39)
CIE-LCHlch(52.21, 57.65, 129.64°)
OKLaboklab(57.57% -0.1024 0.101)
OKLCHoklch(57.57% 0.144 135.4)
XYZxyz(12.9408, 20.3301, 5.3396)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B29 #64298B
analogous
#818B29 #508B29 #298B33
triadic
#508B29 #29508B #8B2950
tetradic
#508B29 #29818B #64298B #8B3329
square
#508B29 #29818B #64298B #8B3329
split-complementary
#508B29 #33298B #8B2981
monochromatic
#1A2C0D #355C1B #508B29 #6BBA37 #8CD05F

Accessibility & contrast

On white

4.15
#508B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#508B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B29
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B29#FFFFFF#000000##000000
##508B291.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#4E8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508b29;
/* rgb */ color: rgb(80, 139, 41);
/* oklch */ color: oklch(57.6% 0.144 135.4);
Tailwind
colors: {
  custom: {
    50: '#86ad68',
    500: '#508b29',
    950: '#000000',
  },
}
SCSS
$custom: #508b29;
$custom-light: #86ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#508b29",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 96.122,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.14386,
    "h": 135.4
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#508B29
secondary
#915BB5
accent
#4ADEA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508B29

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

Preview Lab → · Contrast checker → · Palette generator →

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