#507C16#507C16

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

Color values

HEX#507C16
RGBrgb(80, 124, 22)
HSLhsl(86, 70%, 29%)
HSVhsv(86, 82%, 49%)
CMYKcmyk(35.5%, 0%, 82.3%, 51.4%)
CIE-LABlab(47.21, -31.32, 46.50)
CIE-LCHlch(47.21, 56.06, 123.96°)
OKLaboklab(53.44% -0.0891 0.1025)
OKLCHoklch(53.44% 0.136 131)
XYZxyz(10.6607, 16.1783, 3.3199)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C16 #42167C
analogous
#7C7516 #507C16 #1D7C16
triadic
#507C16 #16507C #7C1650
tetradic
#507C16 #167C75 #42167C #7C161D
square
#507C16 #167C75 #42167C #7C161D
split-complementary
#507C16 #161D7C #75167C
monochromatic
#111A05 #2E480D #507C16 #72B01F #92DB32

Accessibility & contrast

On white

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

On black

4.24
#507C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507C16#FFFFFF#000000##FFFFFF
##507C161.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.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: #507c16;
/* rgb */ color: rgb(80, 124, 22);
/* oklch */ color: oklch(53.4% 0.136 131.0);
Tailwind
colors: {
  custom: {
    50: '#85a25d',
    500: '#507c16',
    950: '#000000',
  },
}
SCSS
$custom: #507c16;
$custom-light: #85a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#507c16",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 85.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.13577,
    "h": 131
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#507C16
secondary
#6F3DB1
accent
#3BED88
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507C16

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

Preview Lab → · Contrast checker → · Palette generator →

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