#508328#508328

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

Color values

HEX#508328
RGBrgb(80, 131, 40)
HSLhsl(94, 53%, 34%)
HSVhsv(94, 69%, 51%)
CMYKcmyk(38.9%, 0%, 69.5%, 48.6%)
CIE-LABlab(49.61, -33.30, 42.09)
CIE-LCHlch(49.61, 53.67, 128.35°)
OKLaboklab(55.44% -0.093 0.096)
OKLCHoklch(55.44% 0.134 134.1)
XYZxyz(11.8073, 18.0907, 4.8768)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508328 #5B2883
analogous
#7D8328 #508328 #28832D
triadic
#508328 #285083 #832850
tetradic
#508328 #287D83 #5B2883 #832D28
square
#508328 #287D83 #5B2883 #832D28
split-complementary
#508328 #2D2883 #83287D
monochromatic
#17250B #33541A #508328 #6DB236 #8CCC59

Accessibility & contrast

On white

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

On black

4.62
#508328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508328
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508328#FFFFFF#000000##000000
##5083281.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#817430
Tritanopia (blue-blind)
#507E71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508328;
/* rgb */ color: rgb(80, 131, 40);
/* oklch */ color: oklch(55.4% 0.134 134.1);
Tailwind
colors: {
  custom: {
    50: '#85a767',
    500: '#508328',
    950: '#000000',
  },
}
SCSS
$custom: #508328;
$custom-light: #85a767;
$custom-dark: #000000;
JSON
{
  "hex": "#508328",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 93.626,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.13372,
    "h": 134.1
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#508328
secondary
#8955B1
accent
#4BDD9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #508328

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

Preview Lab → · Contrast checker → · Palette generator →

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