#507D19#507D19

#507D19 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.136 H 131.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#507D19
RGBrgb(80, 125, 25)
HSLhsl(87, 67%, 29%)
HSVhsv(87, 80%, 49%)
CMYKcmyk(36%, 0%, 80%, 51%)
CIE-LABlab(47.55, -31.62, 45.84)
CIE-LCHlch(47.55, 55.68, 124.60°)
OKLaboklab(53.72% -0.0897 0.1016)
OKLCHoklch(53.72% 0.136 131.4)
XYZxyz(10.8173, 16.4425, 3.5233)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D19 #46197D
analogous
#7D7819 #507D19 #1E7D19
triadic
#507D19 #19507D #7D1950
tetradic
#507D19 #197D78 #46197D #7D191E
square
#507D19 #197D78 #46197D #7D191E
split-complementary
#507D19 #191E7D #78197D
monochromatic
#101A05 #2F4A0F #507D19 #71B023 #90D739

Accessibility & contrast

On white

4.90
#507D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507D19
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D19#FFFFFF#000000##FFFFFF
##507D191.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#51776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d19;
/* rgb */ color: rgb(80, 125, 25);
/* oklch */ color: oklch(53.7% 0.136 131.4);
Tailwind
colors: {
  custom: {
    50: '#85a35f',
    500: '#507d19',
    950: '#000000',
  },
}
SCSS
$custom: #507d19;
$custom-light: #85a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#507d19",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 87,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53722,
    "c": 0.1355,
    "h": 131.4
  },
  "luminance": 0.16443
}

Semantic roles & 50–950 ramp

primary
#507D19
secondary
#7340B1
accent
#3EEA8B
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507D19

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

Preview Lab → · Contrast checker → · Palette generator →

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