#507A24#507A24

#507A24 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.124 H 131.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#507A24
RGBrgb(80, 122, 36)
HSLhsl(89, 54%, 31%)
HSVhsv(89, 70%, 48%)
CMYKcmyk(34.4%, 0%, 70.5%, 52.2%)
CIE-LABlab(46.65, -29.46, 40.70)
CIE-LCHlch(46.65, 50.24, 125.90°)
OKLaboklab(53.01% -0.0829 0.0926)
OKLCHoklch(53.01% 0.124 131.9)
XYZxyz(10.5861, 15.7515, 4.1513)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A24 #4E247A
analogous
#7A7924 #507A24 #257A24
triadic
#507A24 #24507A #7A2450
tetradic
#507A24 #247A79 #4E247A #7A2425
square
#507A24 #247A79 #4E247A #7A2425
split-complementary
#507A24 #24257A #79247A
monochromatic
#121B08 #314B16 #507A24 #6FA932 #8ECB4E

Accessibility & contrast

On white

5.06
#507A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#507A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A24
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A24#FFFFFF#000000##FFFFFF
##507A241.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7118
Deuteranopia (green-blind)
#7A6D2B
Tritanopia (blue-blind)
#517569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a24;
/* rgb */ color: rgb(80, 122, 36);
/* oklch */ color: oklch(53.0% 0.124 131.9);
Tailwind
colors: {
  custom: {
    50: '#85a064',
    500: '#507a24',
    950: '#000000',
  },
}
SCSS
$custom: #507a24;
$custom-light: #85a064;
$custom-dark: #000000;
JSON
{
  "hex": "#507a24",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 89.302,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.12427,
    "h": 131.9
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#507A24
secondary
#7C4DAC
accent
#4ADE92
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A24

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

Preview Lab → · Contrast checker → · Palette generator →

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