#507C15#507C15

#507C15 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.136 H 130.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#507C15
RGBrgb(80, 124, 21)
HSLhsl(86, 71%, 28%)
HSVhsv(86, 83%, 49%)
CMYKcmyk(35.5%, 0%, 83.1%, 51.4%)
CIE-LABlab(47.20, -31.37, 46.80)
CIE-LCHlch(47.20, 56.34, 123.83°)
OKLaboklab(53.43% -0.0893 0.103)
OKLCHoklch(53.43% 0.136 130.9)
XYZxyz(10.6512, 16.1745, 3.2701)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C15 #41157C
analogous
#7C7415 #507C15 #1D7C15
triadic
#507C15 #15507C #7C1550
tetradic
#507C15 #157C74 #41157C #7C151D
square
#507C15 #157C74 #41157C #7C151D
split-complementary
#507C15 #151D7C #74157C
monochromatic
#111A04 #2E480C #507C15 #72B01E #92DC30

Accessibility & contrast

On white

4.96
#507C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#507C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C15
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C15#FFFFFF#000000##FFFFFF
##507C151.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#527669
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507c15;
/* rgb */ color: rgb(80, 124, 21);
/* oklch */ color: oklch(53.4% 0.136 130.9);
Tailwind
colors: {
  custom: {
    50: '#85a25d',
    500: '#507c15',
    950: '#000000',
  },
}
SCSS
$custom: #507c15;
$custom-light: #85a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#507c15",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 85.631,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.13626,
    "h": 130.9
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#507C15
secondary
#6E3CB1
accent
#3AEE87
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507C15

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

Preview Lab → · Contrast checker → · Palette generator →

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