#508235#508235

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

Color values

HEX#508235
RGBrgb(80, 130, 53)
HSLhsl(99, 42%, 36%)
HSVhsv(99, 59%, 51%)
CMYKcmyk(38.5%, 0%, 59.2%, 49%)
CIE-LABlab(49.41, -31.56, 35.83)
CIE-LCHlch(49.41, 47.75, 131.38°)
OKLaboklab(55.31% -0.0873 0.0843)
OKLCHoklch(55.31% 0.121 136)
XYZxyz(11.9332, 17.9272, 6.1990)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508235 #673582
analogous
#768235 #508235 #358240
triadic
#508235 #355082 #823550
tetradic
#508235 #357682 #673582 #824035
square
#508235 #357682 #673582 #824035
split-complementary
#508235 #403582 #823576
monochromatic
#1A2B12 #355723 #508235 #6BAD47 #8CC46E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508235#FFFFFF#000000##000000
##5082351.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)
#86782D
Deuteranopia (green-blind)
#7F743B
Tritanopia (blue-blind)
#4F7D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508235;
/* rgb */ color: rgb(80, 130, 53);
/* oklch */ color: oklch(55.3% 0.121 136.0);
Tailwind
colors: {
  custom: {
    50: '#84a66f',
    500: '#508235',
    950: '#000000',
  },
}
SCSS
$custom: #508235;
$custom-light: #84a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#508235",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 98.961,
    "s": 42.077,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.12133,
    "h": 136
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#508235
secondary
#9467AC
accent
#56D2A6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508235

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

Preview Lab → · Contrast checker → · Palette generator →

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