#508236#508236

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

Color values

HEX#508236
RGBrgb(80, 130, 54)
HSLhsl(99, 41%, 36%)
HSVhsv(99, 58%, 51%)
CMYKcmyk(38.5%, 0%, 58.5%, 49%)
CIE-LABlab(49.42, -31.45, 35.35)
CIE-LCHlch(49.42, 47.31, 131.66°)
OKLaboklab(55.33% -0.0869 0.0833)
OKLCHoklch(55.33% 0.12 136.2)
XYZxyz(11.9564, 17.9365, 6.3214)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508236 #683682
analogous
#768236 #508236 #368242
triadic
#508236 #365082 #823650
tetradic
#508236 #367682 #683682 #824236
square
#508236 #367682 #683682 #824236
split-complementary
#508236 #423682 #823676
monochromatic
#1B2C12 #355724 #508236 #6BAD48 #8CC36F

Accessibility & contrast

On white

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

On black

4.59
#508236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508236
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508236#FFFFFF#000000##000000
##5082361.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86782E
Deuteranopia (green-blind)
#7F743B
Tritanopia (blue-blind)
#4E7E71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508236;
/* rgb */ color: rgb(80, 130, 54);
/* oklch */ color: oklch(55.3% 0.120 136.2);
Tailwind
colors: {
  custom: {
    50: '#84a670',
    500: '#508236',
    950: '#000000',
  },
}
SCSS
$custom: #508236;
$custom-light: #84a670;
$custom-dark: #000000;
JSON
{
  "hex": "#508236",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 99.474,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.12039,
    "h": 136.2
  },
  "luminance": 0.17937
}

Semantic roles & 50–950 ramp

primary
#508236
secondary
#9568AC
accent
#57D1A7
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508236

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

Preview Lab → · Contrast checker → · Palette generator →

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