#507E16#507E16

#507E16 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.138 H 131.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#507E16
RGBrgb(80, 126, 22)
HSLhsl(87, 70%, 29%)
HSVhsv(87, 83%, 49%)
CMYKcmyk(36.5%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.86, -32.24, 47.10)
CIE-LCHlch(47.86, 57.07, 124.39°)
OKLaboklab(53.97% -0.0915 0.1037)
OKLCHoklch(53.97% 0.138 131.4)
XYZxyz(10.9138, 16.6847, 3.4043)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E16 #44167E
analogous
#7E7816 #507E16 #1C7E16
triadic
#507E16 #16507E #7E1650
tetradic
#507E16 #167E78 #44167E #7E161C
square
#507E16 #167E78 #44167E #7E161C
split-complementary
#507E16 #161C7E #78167E
monochromatic
#111A05 #2F4A0D #507E16 #71B21F #91DB33

Accessibility & contrast

On white

4.84
#507E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#507E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E16
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E16#FFFFFF#000000##FFFFFF
##507E161.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e16;
/* rgb */ color: rgb(80, 126, 22);
/* oklch */ color: oklch(54.0% 0.138 131.4);
Tailwind
colors: {
  custom: {
    50: '#86a35d',
    500: '#507e16',
    950: '#000000',
  },
}
SCSS
$custom: #507e16;
$custom-light: #86a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#507e16",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 86.538,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.13835,
    "h": 131.4
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#507E16
secondary
#713DB3
accent
#3BED8A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #507E16

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

Preview Lab → · Contrast checker → · Palette generator →

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