#507516#507516

#507516 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.127 H 129.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#507516
RGBrgb(80, 117, 22)
HSLhsl(83, 68%, 27%)
HSVhsv(83, 81%, 46%)
CMYKcmyk(31.6%, 0%, 81.2%, 54.1%)
CIE-LABlab(44.92, -28.02, 44.38)
CIE-LCHlch(44.92, 52.48, 122.27°)
OKLaboklab(51.58% -0.0801 0.098)
OKLCHoklch(51.58% 0.127 129.3)
XYZxyz(9.8144, 14.4857, 3.0378)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507516 #3B1675
analogous
#756A16 #507516 #217516
triadic
#507516 #165075 #751650
tetradic
#507516 #16756A #3B1675 #751621
square
#507516 #16756A #3B1675 #751621
split-complementary
#507516 #162175 #6A1675
monochromatic
#121A05 #2D410C #507516 #73A920 #95D82E

Accessibility & contrast

On white

5.39
#507516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#507516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507516
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507516#FFFFFF#000000##FFFFFF
##5075161.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#536F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #507516;
/* rgb */ color: rgb(80, 117, 22);
/* oklch */ color: oklch(51.6% 0.127 129.3);
Tailwind
colors: {
  custom: {
    50: '#859d5c',
    500: '#507516',
    950: '#000000',
  },
}
SCSS
$custom: #507516;
$custom-light: #859d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#507516",
  "rgb": {
    "r": 80,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 83.368,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.12662,
    "h": 129.3
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#507516
secondary
#673CAB
accent
#3DEB81
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507516

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

Preview Lab → · Contrast checker → · Palette generator →

#507516 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva