#507B16#507B16

#507B16 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.134 H 130.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#507B16
RGBrgb(80, 123, 22)
HSLhsl(86, 70%, 28%)
HSVhsv(86, 82%, 48%)
CMYKcmyk(35%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.88, -30.85, 46.20)
CIE-LCHlch(46.88, 55.55, 123.74°)
OKLaboklab(53.17% -0.0878 0.1019)
OKLCHoklch(53.17% 0.134 130.8)
XYZxyz(10.5360, 15.9289, 3.2784)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B16 #41167B
analogous
#7B7316 #507B16 #1D7B16
triadic
#507B16 #16507B #7B1650
tetradic
#507B16 #167B73 #41167B #7B161D
square
#507B16 #167B73 #41167B #7B161D
split-complementary
#507B16 #161D7B #73167B
monochromatic
#111A05 #2E470D #507B16 #72AF1F #92DA31

Accessibility & contrast

On white

5.02
#507B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#507B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507B16
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B16#FFFFFF#000000##FFFFFF
##507B161.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#527568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b16;
/* rgb */ color: rgb(80, 123, 22);
/* oklch */ color: oklch(53.2% 0.134 130.8);
Tailwind
colors: {
  custom: {
    50: '#85a15d',
    500: '#507b16',
    950: '#000000',
  },
}
SCSS
$custom: #507b16;
$custom-light: #85a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#507b16",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 85.545,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.13448,
    "h": 130.8
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#507B16
secondary
#6E3DB0
accent
#3BEC87
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #507B16

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

Preview Lab → · Contrast checker → · Palette generator →

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