#507D20#507D20

#507D20 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.131 H 132.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#507D20
RGBrgb(80, 125, 32)
HSLhsl(89, 59%, 31%)
HSVhsv(89, 74%, 49%)
CMYKcmyk(36%, 0%, 74.4%, 51%)
CIE-LABlab(47.59, -31.17, 43.31)
CIE-LCHlch(47.59, 53.36, 125.74°)
OKLaboklab(53.77% -0.0879 0.0974)
OKLCHoklch(53.77% 0.131 132.1)
XYZxyz(10.9025, 16.4766, 3.9721)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D20 #4D207D
analogous
#7D7B20 #507D20 #217D20
triadic
#507D20 #20507D #7D2050
tetradic
#507D20 #207D7B #4D207D #7D2021
square
#507D20 #207D7B #4D207D #7D2021
split-complementary
#507D20 #20217D #7B207D
monochromatic
#121C07 #314C14 #507D20 #6FAE2C #8ED047

Accessibility & contrast

On white

4.89
#507D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#507D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D20
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D20#FFFFFF#000000##FFFFFF
##507D201.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837310
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d20;
/* rgb */ color: rgb(80, 125, 32);
/* oklch */ color: oklch(53.8% 0.131 132.1);
Tailwind
colors: {
  custom: {
    50: '#85a362',
    500: '#507d20',
    950: '#000000',
  },
}
SCSS
$custom: #507d20;
$custom-light: #85a362;
$custom-dark: #000000;
JSON
{
  "hex": "#507d20",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 89.032,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.13123,
    "h": 132.1
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#507D20
secondary
#7B49B0
accent
#45E291
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #507D20

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

Preview Lab → · Contrast checker → · Palette generator →

#507D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva