#507E15#507E15

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

Color values

HEX#507E15
RGBrgb(80, 126, 21)
HSLhsl(86, 71%, 29%)
HSVhsv(86, 83%, 49%)
CMYKcmyk(36.5%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.86, -32.28, 47.40)
CIE-LCHlch(47.86, 57.35, 124.26°)
OKLaboklab(53.97% -0.0917 0.1042)
OKLCHoklch(53.97% 0.139 131.4)
XYZxyz(10.9044, 16.6809, 3.3545)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E15 #43157E
analogous
#7E7815 #507E15 #1B7E15
triadic
#507E15 #15507E #7E1550
tetradic
#507E15 #157E78 #43157E #7E151B
square
#507E15 #157E78 #43157E #7E151B
split-complementary
#507E15 #151B7E #78157E
monochromatic
#111A04 #2F4A0C #507E15 #71B21E #91DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #507e15;
/* rgb */ color: rgb(80, 126, 21);
/* oklch */ color: oklch(54.0% 0.139 131.4);
Tailwind
colors: {
  custom: {
    50: '#86a35d',
    500: '#507e15',
    950: '#000000',
  },
}
SCSS
$custom: #507e15;
$custom-light: #86a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#507e15",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 86.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.13884,
    "h": 131.4
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#507E15
secondary
#703CB3
accent
#3AEE89
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #507E15

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

Preview Lab → · Contrast checker → · Palette generator →

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