#507D1E#507D1E

#507D1E is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.133 H 131.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#507D1E
RGBrgb(80, 125, 30)
HSLhsl(88, 61%, 30%)
HSVhsv(88, 76%, 49%)
CMYKcmyk(36%, 0%, 76%, 51%)
CIE-LABlab(47.58, -31.31, 44.07)
CIE-LCHlch(47.58, 54.06, 125.39°)
OKLaboklab(53.76% -0.0884 0.0987)
OKLCHoklch(53.76% 0.133 131.9)
XYZxyz(10.8761, 16.4660, 3.8333)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D1E #4B1E7D
analogous
#7D7A1E #507D1E #217D1E
triadic
#507D1E #1E507D #7D1E50
tetradic
#507D1E #1E7D7A #4B1E7D #7D1E21
square
#507D1E #1E7D7A #4B1E7D #7D1E21
split-complementary
#507D1E #1E217D #7A1E7D
monochromatic
#111A06 #304C12 #507D1E #70AE2A #8ED243

Accessibility & contrast

On white

4.89
#507D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#507D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D1E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D1E#FFFFFF#000000##FFFFFF
##507D1E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d1e;
/* rgb */ color: rgb(80, 125, 30);
/* oklch */ color: oklch(53.8% 0.133 131.9);
Tailwind
colors: {
  custom: {
    50: '#85a361',
    500: '#507d1e',
    950: '#000000',
  },
}
SCSS
$custom: #507d1e;
$custom-light: #85a361;
$custom-dark: #000000;
JSON
{
  "hex": "#507d1e",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 88.421,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.13253,
    "h": 131.9
  },
  "luminance": 0.16466
}

Semantic roles & 50–950 ramp

primary
#507D1E
secondary
#7946B0
accent
#43E490
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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