#507E24#507E24

#507E24 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.130 H 132.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#507E24
RGBrgb(80, 126, 36)
HSLhsl(91, 56%, 32%)
HSVhsv(91, 71%, 49%)
CMYKcmyk(36.5%, 0%, 71.4%, 50.6%)
CIE-LABlab(47.95, -31.34, 42.05)
CIE-LCHlch(47.95, 52.44, 126.69°)
OKLaboklab(54.07% -0.088 0.0954)
OKLCHoklch(54.07% 0.13 132.7)
XYZxyz(11.0874, 16.7541, 4.3184)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E24 #52247E
analogous
#7D7E24 #507E24 #247E25
triadic
#507E24 #24507E #7E2450
tetradic
#507E24 #247D7E #52247E #7E2524
square
#507E24 #247D7E #52247E #7E2524
split-complementary
#507E24 #25247E #7E247D
monochromatic
#141F09 #324E16 #507E24 #6EAE32 #8DCD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507E24#FFFFFF#000000##FFFFFF
##507E241.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)
#837416
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e24;
/* rgb */ color: rgb(80, 126, 36);
/* oklch */ color: oklch(54.1% 0.130 132.7);
Tailwind
colors: {
  custom: {
    50: '#85a364',
    500: '#507e24',
    950: '#000000',
  },
}
SCSS
$custom: #507e24;
$custom-light: #85a364;
$custom-dark: #000000;
JSON
{
  "hex": "#507e24",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 90.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.1298,
    "h": 132.7
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#507E24
secondary
#804EB0
accent
#49DF96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E24

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

Preview Lab → · Contrast checker → · Palette generator →

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