#507F16#507F16

#507F16 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.140 H 131.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#507F16
RGBrgb(80, 127, 22)
HSLhsl(87, 70%, 29%)
HSVhsv(87, 83%, 50%)
CMYKcmyk(37%, 0%, 82.7%, 50.2%)
CIE-LABlab(48.19, -32.69, 47.40)
CIE-LCHlch(48.19, 57.58, 124.60°)
OKLaboklab(54.24% -0.0928 0.1044)
OKLCHoklch(54.24% 0.14 131.6)
XYZxyz(11.0424, 16.9417, 3.4472)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F16 #45167F
analogous
#7F7A16 #507F16 #1C7F16
triadic
#507F16 #16507F #7F1650
tetradic
#507F16 #167F7A #45167F #7F161C
square
#507F16 #167F7A #45167F #7F161C
split-complementary
#507F16 #161C7F #7A167F
monochromatic
#101A05 #2F4B0D #507F16 #71B31F #91DC34

Accessibility & contrast

On white

4.79
#507F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#507F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507F16
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507F16#FFFFFF#000000##FFFFFF
##507F161.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507f16;
/* rgb */ color: rgb(80, 127, 22);
/* oklch */ color: oklch(54.2% 0.140 131.6);
Tailwind
colors: {
  custom: {
    50: '#86a45e',
    500: '#507f16',
    950: '#000000',
  },
}
SCSS
$custom: #507f16;
$custom-light: #86a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#507f16",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 86.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.13964,
    "h": 131.6
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

primary
#507F16
secondary
#723DB4
accent
#3BED8B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #507F16

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

Preview Lab → · Contrast checker → · Palette generator →

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