#508336#508336

#508336 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.6% C 0.122 H 136.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#508336
RGBrgb(80, 131, 54)
HSLhsl(100, 42%, 36%)
HSVhsv(100, 59%, 51%)
CMYKcmyk(38.9%, 0%, 58.8%, 48.6%)
CIE-LABlab(49.74, -31.91, 35.72)
CIE-LCHlch(49.74, 47.90, 131.78°)
OKLaboklab(55.59% -0.0882 0.0842)
OKLCHoklch(55.59% 0.122 136.3)
XYZxyz(12.0901, 18.2038, 6.3660)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508336 #693683
analogous
#778336 #508336 #368343
triadic
#508336 #365083 #833650
tetradic
#508336 #367783 #693683 #834336
square
#508336 #367783 #693683 #834336
split-complementary
#508336 #433683 #833677
monochromatic
#1B2C12 #365824 #508336 #6AAE48 #8CC470

Accessibility & contrast

On white

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

On black

4.64
#508336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508336
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508336#FFFFFF#000000##000000
##5083361.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87792E
Deuteranopia (green-blind)
#80753C
Tritanopia (blue-blind)
#4E7E72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508336;
/* rgb */ color: rgb(80, 131, 54);
/* oklch */ color: oklch(55.6% 0.122 136.3);
Tailwind
colors: {
  custom: {
    50: '#84a770',
    500: '#508336',
    950: '#000000',
  },
}
SCSS
$custom: #508336;
$custom-light: #84a770;
$custom-dark: #000000;
JSON
{
  "hex": "#508336",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 99.74,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.12187,
    "h": 136.3
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

primary
#508336
secondary
#9568AC
accent
#56D1A8
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508336

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

Preview Lab → · Contrast checker → · Palette generator →

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