#507E14#507E14

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

Color values

HEX#507E14
RGBrgb(80, 126, 20)
HSLhsl(86, 73%, 29%)
HSVhsv(86, 84%, 49%)
CMYKcmyk(36.5%, 0%, 84.1%, 50.6%)
CIE-LABlab(47.85, -32.33, 47.69)
CIE-LCHlch(47.85, 57.62, 124.14°)
OKLaboklab(53.96% -0.0919 0.1047)
OKLCHoklch(53.96% 0.139 131.3)
XYZxyz(10.8953, 16.6773, 3.3067)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E14 #42147E
analogous
#7E7714 #507E14 #1B7E14
triadic
#507E14 #14507E #7E1450
tetradic
#507E14 #147E77 #42147E #7E141B
square
#507E14 #147E77 #42147E #7E141B
split-complementary
#507E14 #141B7E #77147E
monochromatic
#111A04 #2E490C #507E14 #72B31C #92DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507E14#FFFFFF#000000##FFFFFF
##507E141.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)
#7E7020
Tritanopia (blue-blind)
#52786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e14;
/* rgb */ color: rgb(80, 126, 20);
/* oklch */ color: oklch(54.0% 0.139 131.3);
Tailwind
colors: {
  custom: {
    50: '#86a35d',
    500: '#507e14',
    950: '#000000',
  },
}
SCSS
$custom: #507e14;
$custom-light: #86a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#507e14",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 86.038,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.13931,
    "h": 131.3
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#507E14
secondary
#6F3AB3
accent
#38EF88
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #507E14

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

Preview Lab → · Contrast checker → · Palette generator →

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