#507C24#507C24

#507C24 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.127 H 132.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#507C24
RGBrgb(80, 124, 36)
HSLhsl(90, 55%, 31%)
HSVhsv(90, 71%, 49%)
CMYKcmyk(35.5%, 0%, 71%, 51.4%)
CIE-LABlab(47.30, -30.40, 41.38)
CIE-LCHlch(47.30, 51.35, 126.31°)
OKLaboklab(53.54% -0.0855 0.094)
OKLCHoklch(53.54% 0.127 132.3)
XYZxyz(10.8342, 16.2477, 4.2340)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C24 #50247C
analogous
#7C7C24 #507C24 #247C24
triadic
#507C24 #24507C #7C2450
tetradic
#507C24 #247C7C #50247C #7C2424
square
#507C24 #247C7C #50247C #7C2424
split-complementary
#507C24 #24247C #7C247C
monochromatic
#131D08 #314D16 #507C24 #6FAB32 #8DCC4F

Accessibility & contrast

On white

4.94
#507C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#507C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C24
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C24#FFFFFF#000000##FFFFFF
##507C241.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#51776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c24;
/* rgb */ color: rgb(80, 124, 36);
/* oklch */ color: oklch(53.5% 0.127 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a264',
    500: '#507c24',
    950: '#000000',
  },
}
SCSS
$custom: #507c24;
$custom-light: #85a264;
$custom-dark: #000000;
JSON
{
  "hex": "#507c24",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 90,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.12705,
    "h": 132.3
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#507C24
secondary
#7E4DAE
accent
#49DE94
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507C24

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

Preview Lab → · Contrast checker → · Palette generator →

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