#507F14#507F14

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

Color values

HEX#507F14
RGBrgb(80, 127, 20)
HSLhsl(86, 73%, 29%)
HSVhsv(86, 84%, 50%)
CMYKcmyk(37%, 0%, 84.3%, 50.2%)
CIE-LABlab(48.18, -32.79, 47.98)
CIE-LCHlch(48.18, 58.12, 124.35°)
OKLaboklab(54.23% -0.0932 0.1053)
OKLCHoklch(54.23% 0.141 131.5)
XYZxyz(11.0238, 16.9343, 3.3495)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F14 #43147F
analogous
#7F7914 #507F14 #1B7F14
triadic
#507F14 #14507F #7F1450
tetradic
#507F14 #147F79 #43147F #7F141B
square
#507F14 #147F79 #43147F #7F141B
split-complementary
#507F14 #141B7F #79147F
monochromatic
#111A04 #2F4A0C #507F14 #71B41C #91DE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507F14#FFFFFF#000000##FFFFFF
##507F141.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)
#7F7121
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507f14;
/* rgb */ color: rgb(80, 127, 20);
/* oklch */ color: oklch(54.2% 0.141 131.5);
Tailwind
colors: {
  custom: {
    50: '#86a45d',
    500: '#507f14',
    950: '#000000',
  },
}
SCSS
$custom: #507f14;
$custom-light: #86a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#507f14",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 86.355,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.14059,
    "h": 131.5
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#507F14
secondary
#703BB4
accent
#38EF89
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #507F14

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

Preview Lab → · Contrast checker → · Palette generator →

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