#507D24#507D24

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

Color values

HEX#507D24
RGBrgb(80, 125, 36)
HSLhsl(90, 55%, 32%)
HSVhsv(90, 71%, 49%)
CMYKcmyk(36%, 0%, 71.2%, 51%)
CIE-LABlab(47.62, -30.87, 41.71)
CIE-LCHlch(47.62, 51.89, 126.50°)
OKLaboklab(53.81% -0.0868 0.0947)
OKLCHoklch(53.81% 0.128 132.5)
XYZxyz(10.9602, 16.4996, 4.2760)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D24 #51247D
analogous
#7D7D24 #507D24 #247D24
triadic
#507D24 #24507D #7D2450
tetradic
#507D24 #247D7D #51247D #7D2424
square
#507D24 #247D7D #51247D #7D2424
split-complementary
#507D24 #24247D #7D247D
monochromatic
#131E09 #324D16 #507D24 #6EAD32 #8DCC4F

Accessibility & contrast

On white

4.88
#507D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507D24
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D24#FFFFFF#000000##FFFFFF
##507D241.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507d24;
/* rgb */ color: rgb(80, 125, 36);
/* oklch */ color: oklch(53.8% 0.128 132.5);
Tailwind
colors: {
  custom: {
    50: '#85a364',
    500: '#507d24',
    950: '#000000',
  },
}
SCSS
$custom: #507d24;
$custom-light: #85a364;
$custom-dark: #000000;
JSON
{
  "hex": "#507d24",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 90.337,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.12843,
    "h": 132.5
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#507D24
secondary
#7F4DAF
accent
#49DF95
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507D24

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

Preview Lab → · Contrast checker → · Palette generator →

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