#507D16#507D16

#507D16 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.137 H 131.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#507D16
RGBrgb(80, 125, 22)
HSLhsl(86, 70%, 29%)
HSVhsv(86, 82%, 49%)
CMYKcmyk(36%, 0%, 82.4%, 51%)
CIE-LABlab(47.53, -31.78, 46.80)
CIE-LCHlch(47.53, 56.57, 124.18°)
OKLaboklab(53.7% -0.0903 0.1031)
OKLCHoklch(53.7% 0.137 131.2)
XYZxyz(10.7866, 16.4302, 3.3619)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D16 #43167D
analogous
#7D7716 #507D16 #1C7D16
triadic
#507D16 #16507D #7D1650
tetradic
#507D16 #167D77 #43167D #7D161C
square
#507D16 #167D77 #43167D #7D161C
split-complementary
#507D16 #161C7D #77167D
monochromatic
#111A05 #2F490D #507D16 #71B11F #91DB32

Accessibility & contrast

On white

4.90
#507D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#507D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D16
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D16#FFFFFF#000000##FFFFFF
##507D161.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#52776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d16;
/* rgb */ color: rgb(80, 125, 22);
/* oklch */ color: oklch(53.7% 0.137 131.2);
Tailwind
colors: {
  custom: {
    50: '#86a35d',
    500: '#507d16',
    950: '#000000',
  },
}
SCSS
$custom: #507d16;
$custom-light: #86a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#507d16",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 86.214,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.13706,
    "h": 131.2
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#507D16
secondary
#703DB2
accent
#3BED89
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507D16

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

Preview Lab → · Contrast checker → · Palette generator →

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