#507E10#507E10

#507E10 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#507E10
RGBrgb(80, 126, 16)
HSLhsl(85, 77%, 28%)
HSVhsv(85, 87%, 49%)
CMYKcmyk(36.5%, 0%, 87.3%, 50.6%)
CIE-LABlab(47.83, -32.50, 48.76)
CIE-LCHlch(47.83, 58.60, 123.69°)
OKLaboklab(53.94% -0.0926 0.1063)
OKLCHoklch(53.94% 0.141 131.1)
XYZxyz(10.8626, 16.6642, 3.1343)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E10 #3E107E
analogous
#7E7510 #507E10 #197E10
triadic
#507E10 #10507E #7E1050
tetradic
#507E10 #107E75 #3E107E #7E1019
square
#507E10 #107E75 #3E107E #7E1019
split-complementary
#507E10 #10197E #75107E
monochromatic
#111B03 #2E4809 #507E10 #72B417 #94E325

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507E10#FFFFFF#000000##FFFFFF
##507E101.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)
#7E701E
Tritanopia (blue-blind)
#52786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507e10;
/* rgb */ color: rgb(80, 126, 16);
/* oklch */ color: oklch(53.9% 0.141 131.1);
Tailwind
colors: {
  custom: {
    50: '#86a35b',
    500: '#507e10',
    950: '#000000',
  },
}
SCSS
$custom: #507e10;
$custom-light: #86a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#507e10",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 85.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.141,
    "h": 131.1
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#507E10
secondary
#6B36B4
accent
#34F484
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #507E10

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

Preview Lab → · Contrast checker → · Palette generator →

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