#507716#507716

#507716 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.129 H 129.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#507716
RGBrgb(80, 119, 22)
HSLhsl(84, 69%, 28%)
HSVhsv(84, 82%, 47%)
CMYKcmyk(32.8%, 0%, 81.5%, 53.3%)
CIE-LABlab(45.57, -28.97, 44.99)
CIE-LCHlch(45.57, 53.51, 122.78°)
OKLaboklab(52.11% -0.0827 0.0993)
OKLCHoklch(52.11% 0.129 129.8)
XYZxyz(10.0499, 14.9567, 3.1163)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507716 #3D1677
analogous
#776E16 #507716 #1F7716
triadic
#507716 #165077 #771650
tetradic
#507716 #16776E #3D1677 #77161F
square
#507716 #16776E #3D1677 #77161F
split-complementary
#507716 #161F77 #6E1677
monochromatic
#111A05 #2D430C #507716 #73AB20 #94D92F

Accessibility & contrast

On white

5.26
#507716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#507716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507716
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507716#FFFFFF#000000##FFFFFF
##5077161.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#527165
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #507716;
/* rgb */ color: rgb(80, 119, 22);
/* oklch */ color: oklch(52.1% 0.129 129.8);
Tailwind
colors: {
  custom: {
    50: '#859e5c',
    500: '#507716',
    950: '#000000',
  },
}
SCSS
$custom: #507716;
$custom-light: #859e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#507716",
  "rgb": {
    "r": 80,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 84.124,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.12925,
    "h": 129.8
  },
  "luminance": 0.14957
}

Semantic roles & 50–950 ramp

primary
#507716
secondary
#693CAC
accent
#3CEC83
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507716

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

Preview Lab → · Contrast checker → · Palette generator →

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