#508332#508332

#508332 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.126 H 135.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#508332
RGBrgb(80, 131, 50)
HSLhsl(98, 45%, 35%)
HSVhsv(98, 62%, 51%)
CMYKcmyk(38.9%, 0%, 61.8%, 48.6%)
CIE-LABlab(49.70, -32.35, 37.63)
CIE-LCHlch(49.70, 49.62, 130.69°)
OKLaboklab(55.54% -0.0897 0.0878)
OKLCHoklch(55.54% 0.126 135.6)
XYZxyz(12.0000, 18.1678, 5.8914)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508332 #653283
analogous
#788332 #508332 #32833D
triadic
#508332 #325083 #833250
tetradic
#508332 #327883 #653283 #833D32
square
#508332 #327883 #653283 #833D32
split-complementary
#508332 #3D3283 #833278
monochromatic
#1A2A10 #355721 #508332 #6BAF43 #8CC669

Accessibility & contrast

On white

4.53
#508332 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#508332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508332
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508332#FFFFFF#000000##000000
##5083321.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887929
Deuteranopia (green-blind)
#807538
Tritanopia (blue-blind)
#4F7E72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508332;
/* rgb */ color: rgb(80, 131, 50);
/* oklch */ color: oklch(55.5% 0.126 135.6);
Tailwind
colors: {
  custom: {
    50: '#85a76d',
    500: '#508332',
    950: '#000000',
  },
}
SCSS
$custom: #508332;
$custom-light: #85a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#508332",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 97.778,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5554,
    "c": 0.12552,
    "h": 135.6
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#508332
secondary
#9263AE
accent
#53D4A5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508332

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

Preview Lab → · Contrast checker → · Palette generator →

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