#507116#507116

#507116 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.121 H 128.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#507116
RGBrgb(80, 113, 22)
HSLhsl(82, 67%, 26%)
HSVhsv(82, 81%, 44%)
CMYKcmyk(29.2%, 0%, 80.5%, 55.7%)
CIE-LABlab(43.61, -26.08, 43.15)
CIE-LCHlch(43.61, 50.42, 121.15°)
OKLaboklab(50.51% -0.0749 0.0954)
OKLCHoklch(50.51% 0.121 128.1)
XYZxyz(9.3582, 13.5734, 2.8858)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507116 #371671
analogous
#716516 #507116 #237116
triadic
#507116 #165071 #711650
tetradic
#507116 #167165 #371671 #711623
square
#507116 #167165 #371671 #711623
split-complementary
#507116 #162371 #651671
monochromatic
#121A05 #2C3E0C #507116 #74A420 #98D62C

Accessibility & contrast

On white

5.65
#507116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#507116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507116
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507116#FFFFFF#000000##FFFFFF
##5071161.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776801
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#536C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507116;
/* rgb */ color: rgb(80, 113, 22);
/* oklch */ color: oklch(50.5% 0.121 128.1);
Tailwind
colors: {
  custom: {
    50: '#859a5b',
    500: '#507116',
    950: '#000000',
  },
}
SCSS
$custom: #507116;
$custom-light: #859a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#507116",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 81.758,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.12132,
    "h": 128.1
  },
  "luminance": 0.13574
}

Semantic roles & 50–950 ramp

primary
#507116
secondary
#633CA7
accent
#3EEA7C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507116

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

Preview Lab → · Contrast checker → · Palette generator →

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