#507E13#507E13

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

Color values

HEX#507E13
RGBrgb(80, 126, 19)
HSLhsl(86, 74%, 28%)
HSVhsv(86, 85%, 49%)
CMYKcmyk(36.5%, 0%, 84.9%, 50.6%)
CIE-LABlab(47.85, -32.38, 47.97)
CIE-LCHlch(47.85, 57.88, 124.02°)
OKLaboklab(53.96% -0.0921 0.1051)
OKLCHoklch(53.96% 0.14 131.2)
XYZxyz(10.8866, 16.6738, 3.2607)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E13 #41137E
analogous
#7E7613 #507E13 #1B7E13
triadic
#507E13 #13507E #7E1350
tetradic
#507E13 #137E76 #41137E #7E131B
square
#507E13 #137E76 #41137E #7E131B
split-complementary
#507E13 #131B7E #76137E
monochromatic
#111B04 #2E490B #507E13 #72B31B #92DF2C

Accessibility & contrast

On white

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

On black

4.33
#507E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507E13#FFFFFF#000000##FFFFFF
##507E131.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.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: #507e13;
/* rgb */ color: rgb(80, 126, 19);
/* oklch */ color: oklch(54.0% 0.140 131.2);
Tailwind
colors: {
  custom: {
    50: '#86a35c',
    500: '#507e13',
    950: '#000000',
  },
}
SCSS
$custom: #507e13;
$custom-light: #86a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#507e13",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 85.794,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.13976,
    "h": 131.2
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

primary
#507E13
secondary
#6E39B4
accent
#37F087
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #507E13

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

Preview Lab → · Contrast checker → · Palette generator →

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