#507E20#507E20

#507E20 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.133 H 132.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#507E20
RGBrgb(80, 126, 32)
HSLhsl(89, 59%, 31%)
HSVhsv(89, 75%, 49%)
CMYKcmyk(36.5%, 0%, 74.6%, 50.6%)
CIE-LABlab(47.92, -31.63, 43.64)
CIE-LCHlch(47.92, 53.90, 125.94°)
OKLaboklab(54.04% -0.0892 0.0981)
OKLCHoklch(54.04% 0.133 132.3)
XYZxyz(11.0297, 16.7310, 4.0145)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E20 #4E207E
analogous
#7E7D20 #507E20 #217E20
triadic
#507E20 #20507E #7E2050
tetradic
#507E20 #207E7D #4E207E #7E2021
square
#507E20 #207E7D #4E207E #7E2021
split-complementary
#507E20 #20217E #7D207E
monochromatic
#121C07 #314D14 #507E20 #6FAF2C #8ED048

Accessibility & contrast

On white

4.83
#507E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#507E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E20
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E20#FFFFFF#000000##FFFFFF
##507E201.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e20;
/* rgb */ color: rgb(80, 126, 32);
/* oklch */ color: oklch(54.0% 0.133 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a362',
    500: '#507e20',
    950: '#000000',
  },
}
SCSS
$custom: #507e20;
$custom-light: #85a362;
$custom-dark: #000000;
JSON
{
  "hex": "#507e20",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 89.362,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54038,
    "c": 0.13258,
    "h": 132.3
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

primary
#507E20
secondary
#7C49B1
accent
#45E392
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #507E20

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

Preview Lab → · Contrast checker → · Palette generator →

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