#508322#508322

#508322 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.138 H 133.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#508322
RGBrgb(80, 131, 34)
HSLhsl(92, 59%, 32%)
HSVhsv(92, 74%, 51%)
CMYKcmyk(38.9%, 0%, 74%, 48.6%)
CIE-LABlab(49.56, -33.77, 44.50)
CIE-LCHlch(49.56, 55.87, 127.19°)
OKLaboklab(55.38% -0.0948 0.1002)
OKLCHoklch(55.38% 0.138 133.4)
XYZxyz(11.7131, 18.0530, 4.3805)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508322 #552283
analogous
#818322 #508322 #228324
triadic
#508322 #225083 #832250
tetradic
#508322 #228183 #552283 #832422
square
#508322 #228183 #552283 #832422
split-complementary
#508322 #242283 #832281
monochromatic
#152209 #325215 #508322 #6EB42F #8CD14E

Accessibility & contrast

On white

4.55
#508322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#508322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508322
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508322#FFFFFF#000000##000000
##5083221.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#507E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508322;
/* rgb */ color: rgb(80, 131, 34);
/* oklch */ color: oklch(55.4% 0.138 133.4);
Tailwind
colors: {
  custom: {
    50: '#86a764',
    500: '#508322',
    950: '#000000',
  },
}
SCSS
$custom: #508322;
$custom-light: #86a764;
$custom-dark: #000000;
JSON
{
  "hex": "#508322",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 91.546,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55383,
    "c": 0.13797,
    "h": 133.4
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#508322
secondary
#834CB4
accent
#46E298
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #508322

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

Preview Lab → · Contrast checker → · Palette generator →

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