#508C29#508C29

#508C29 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.145 H 135.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#508C29
RGBrgb(80, 140, 41)
HSLhsl(96, 55%, 35%)
HSVhsv(96, 71%, 55%)
CMYKcmyk(42.9%, 0%, 70.7%, 45.1%)
CIE-LABlab(52.53, -37.21, 44.73)
CIE-LCHlch(52.53, 58.19, 129.76°)
OKLaboklab(57.83% -0.1036 0.1017)
OKLCHoklch(57.83% 0.145 135.5)
XYZxyz(13.0863, 20.6210, 5.3881)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C29 #65298C
analogous
#818C29 #508C29 #298C34
triadic
#508C29 #29508C #8C2950
tetradic
#508C29 #29818C #65298C #8C3429
square
#508C29 #29818C #65298C #8C3429
split-complementary
#508C29 #34298C #8C2981
monochromatic
#1A2D0D #355D1B #508C29 #6BBB37 #8CD05F

Accessibility & contrast

On white

4.10
#508C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#508C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C29
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C29#FFFFFF#000000##000000
##508C291.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801A
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#4E8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508c29;
/* rgb */ color: rgb(80, 140, 41);
/* oklch */ color: oklch(57.8% 0.145 135.5);
Tailwind
colors: {
  custom: {
    50: '#86ae69',
    500: '#508c29',
    950: '#000000',
  },
}
SCSS
$custom: #508c29;
$custom-light: #86ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#508c29",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 96.364,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.1452,
    "h": 135.5
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#508C29
secondary
#925BB6
accent
#4ADEA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #508C29

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

Preview Lab → · Contrast checker → · Palette generator →

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