#507D1D#507D1D

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

Color values

HEX#507D1D
RGBrgb(80, 125, 29)
HSLhsl(88, 62%, 30%)
HSVhsv(88, 77%, 49%)
CMYKcmyk(36%, 0%, 76.8%, 51%)
CIE-LABlab(47.57, -31.37, 44.44)
CIE-LCHlch(47.57, 54.40, 125.22°)
OKLaboklab(53.75% -0.0887 0.0993)
OKLCHoklch(53.75% 0.133 131.8)
XYZxyz(10.8635, 16.4610, 3.7671)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D1D #4A1D7D
analogous
#7D7A1D #507D1D #207D1D
triadic
#507D1D #1D507D #7D1D50
tetradic
#507D1D #1D7D7A #4A1D7D #7D1D20
square
#507D1D #1D7D7A #4A1D7D #7D1D20
split-complementary
#507D1D #1D207D #7A1D7D
monochromatic
#101A06 #304B11 #507D1D #70AF29 #8FD341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507D1D#FFFFFF#000000##FFFFFF
##507D1D1.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)
#837309
Deuteranopia (green-blind)
#7C7026
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d1d;
/* rgb */ color: rgb(80, 125, 29);
/* oklch */ color: oklch(53.7% 0.133 131.8);
Tailwind
colors: {
  custom: {
    50: '#85a360',
    500: '#507d1d',
    950: '#000000',
  },
}
SCSS
$custom: #507d1d;
$custom-light: #85a360;
$custom-dark: #000000;
JSON
{
  "hex": "#507d1d",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 88.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.13316,
    "h": 131.8
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#507D1D
secondary
#7845B1
accent
#42E58F
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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