#508232#508232

#508232 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.124 H 135.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#508232
RGBrgb(80, 130, 50)
HSLhsl(98, 44%, 35%)
HSVhsv(98, 62%, 51%)
CMYKcmyk(38.5%, 0%, 61.5%, 49%)
CIE-LABlab(49.38, -31.89, 37.26)
CIE-LCHlch(49.38, 49.05, 130.56°)
OKLaboklab(55.28% -0.0884 0.0871)
OKLCHoklch(55.28% 0.124 135.4)
XYZxyz(11.8663, 17.9005, 5.8469)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508232 #643282
analogous
#788232 #508232 #32823C
triadic
#508232 #325082 #823250
tetradic
#508232 #327882 #643282 #823C32
square
#508232 #327882 #643282 #823C32
split-complementary
#508232 #3C3282 #823278
monochromatic
#1A2A10 #355621 #508232 #6BAE43 #8CC569

Accessibility & contrast

On white

4.58
#508232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#508232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508232
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508232#FFFFFF#000000##000000
##5082321.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877829
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#4F7D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508232;
/* rgb */ color: rgb(80, 130, 50);
/* oklch */ color: oklch(55.3% 0.124 135.4);
Tailwind
colors: {
  custom: {
    50: '#85a66d',
    500: '#508232',
    950: '#000000',
  },
}
SCSS
$custom: #508232;
$custom-light: #85a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#508232",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 97.5,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.12406,
    "h": 135.4
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#508232
secondary
#9163AD
accent
#54D4A4
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508232

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

Preview Lab → · Contrast checker → · Palette generator →

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