#508124#508124

#508124 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.134 H 133.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#508124
RGBrgb(80, 129, 36)
HSLhsl(92, 56%, 32%)
HSVhsv(92, 72%, 51%)
CMYKcmyk(38%, 0%, 72.1%, 49.4%)
CIE-LABlab(48.92, -32.71, 43.06)
CIE-LCHlch(48.92, 54.08, 127.23°)
OKLaboklab(54.87% -0.0918 0.0975)
OKLCHoklch(54.87% 0.134 133.3)
XYZxyz(11.4768, 17.5329, 4.4482)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508124 #552481
analogous
#7F8124 #508124 #248126
triadic
#508124 #245081 #812450
tetradic
#508124 #247F81 #552481 #812624
square
#508124 #247F81 #552481 #812624
split-complementary
#508124 #262481 #81247F
monochromatic
#152109 #325117 #508124 #6EB131 #8CCE51

Accessibility & contrast

On white

4.66
#508124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#508124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #508124
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508124#FFFFFF#000000##FFFFFF
##5081241.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867715
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#507C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #508124;
/* rgb */ color: rgb(80, 129, 36);
/* oklch */ color: oklch(54.9% 0.134 133.3);
Tailwind
colors: {
  custom: {
    50: '#85a665',
    500: '#508124',
    950: '#000000',
  },
}
SCSS
$custom: #508124;
$custom-light: #85a665;
$custom-dark: #000000;
JSON
{
  "hex": "#508124",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 91.613,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.13391,
    "h": 133.3
  },
  "luminance": 0.17533
}

Semantic roles & 50–950 ramp

primary
#508124
secondary
#834EB2
accent
#48E098
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #508124

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

Preview Lab → · Contrast checker → · Palette generator →

#508124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva