#508121#508121

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

Color values

HEX#508121
RGBrgb(80, 129, 33)
HSLhsl(91, 59%, 32%)
HSVhsv(91, 74%, 51%)
CMYKcmyk(38%, 0%, 74.4%, 49.4%)
CIE-LABlab(48.90, -32.94, 44.23)
CIE-LCHlch(48.90, 55.15, 126.67°)
OKLaboklab(54.84% -0.0926 0.0995)
OKLCHoklch(54.84% 0.136 132.9)
XYZxyz(11.4329, 17.5153, 4.2169)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508121 #522181
analogous
#808121 #508121 #218122
triadic
#508121 #215081 #812150
tetradic
#508121 #218081 #522181 #812221
square
#508121 #218081 #522181 #812221
split-complementary
#508121 #222181 #812180
monochromatic
#142008 #325015 #508121 #6EB22D #8DD14B

Accessibility & contrast

On white

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

On black

4.50
#508121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##508121#FFFFFF#000000##FFFFFF
##5081211.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867710
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#507C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #508121;
/* rgb */ color: rgb(80, 129, 33);
/* oklch */ color: oklch(54.8% 0.136 132.9);
Tailwind
colors: {
  custom: {
    50: '#85a663',
    500: '#508121',
    950: '#000000',
  },
}
SCSS
$custom: #508121;
$custom-light: #85a663;
$custom-dark: #000000;
JSON
{
  "hex": "#508121",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 90.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.13595,
    "h": 132.9
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#508121
secondary
#804AB4
accent
#45E296
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #508121

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

Preview Lab → · Contrast checker → · Palette generator →

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