#508132#508132

#508132 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.123 H 135.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#508132
RGBrgb(80, 129, 50)
HSLhsl(97, 44%, 35%)
HSVhsv(97, 61%, 51%)
CMYKcmyk(38%, 0%, 61.2%, 49.4%)
CIE-LABlab(49.05, -31.43, 36.89)
CIE-LCHlch(49.05, 48.46, 130.43°)
OKLaboklab(55.01% -0.0871 0.0863)
OKLCHoklch(55.01% 0.123 135.3)
XYZxyz(11.7340, 17.6357, 5.8028)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508132 #633281
analogous
#788132 #508132 #32813B
triadic
#508132 #325081 #813250
tetradic
#508132 #327881 #633281 #813B32
square
#508132 #327881 #633281 #813B32
split-complementary
#508132 #3B3281 #813278
monochromatic
#192910 #355521 #508132 #6BAD43 #8CC569

Accessibility & contrast

On white

4.64
#508132 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#508132 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #508132
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508132#FFFFFF#000000##FFFFFF
##5081321.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86772A
Deuteranopia (green-blind)
#7F7338
Tritanopia (blue-blind)
#4F7C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508132;
/* rgb */ color: rgb(80, 129, 50);
/* oklch */ color: oklch(55.0% 0.123 135.3);
Tailwind
colors: {
  custom: {
    50: '#84a66d',
    500: '#508132',
    950: '#000000',
  },
}
SCSS
$custom: #508132;
$custom-light: #84a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#508132",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 50
  },
  "hsl": {
    "h": 97.215,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.12261,
    "h": 135.3
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#508132
secondary
#9062AC
accent
#54D4A3
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508132

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

Preview Lab → · Contrast checker → · Palette generator →

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