#507E11#507E11

#507E11 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.141 H 131.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#507E11
RGBrgb(80, 126, 17)
HSLhsl(85, 76%, 28%)
HSVhsv(85, 87%, 49%)
CMYKcmyk(36.5%, 0%, 86.5%, 50.6%)
CIE-LABlab(47.84, -32.46, 48.51)
CIE-LCHlch(47.84, 58.37, 123.79°)
OKLaboklab(53.95% -0.0925 0.1059)
OKLCHoklch(53.95% 0.141 131.1)
XYZxyz(10.8702, 16.6672, 3.1746)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E11 #3F117E
analogous
#7E7511 #507E11 #197E11
triadic
#507E11 #11507E #7E1150
tetradic
#507E11 #117E75 #3F117E #7E1119
square
#507E11 #117E75 #3F117E #7E1119
split-complementary
#507E11 #11197E #75117E
monochromatic
#111B04 #2E480A #507E11 #72B418 #93E227

Accessibility & contrast

On white

4.85
#507E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507E11
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E11#FFFFFF#000000##FFFFFF
##507E111.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#52786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507e11;
/* rgb */ color: rgb(80, 126, 17);
/* oklch */ color: oklch(53.9% 0.141 131.1);
Tailwind
colors: {
  custom: {
    50: '#86a35c',
    500: '#507e11',
    950: '#000000',
  },
}
SCSS
$custom: #507e11;
$custom-light: #86a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#507e11",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 85.321,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.1406,
    "h": 131.1
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#507E11
secondary
#6C37B4
accent
#35F385
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #507E11

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

Preview Lab → · Contrast checker → · Palette generator →

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