#507E19#507E19

#507E19 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.137 H 131.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#507E19
RGBrgb(80, 126, 25)
HSLhsl(87, 67%, 30%)
HSVhsv(87, 80%, 49%)
CMYKcmyk(36.5%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.88, -32.08, 46.14)
CIE-LCHlch(47.88, 56.20, 124.80°)
OKLaboklab(53.99% -0.0909 0.1022)
OKLCHoklch(53.99% 0.137 131.6)
XYZxyz(10.9445, 16.6969, 3.5657)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E19 #47197E
analogous
#7E7A19 #507E19 #1D7E19
triadic
#507E19 #19507E #7E1950
tetradic
#507E19 #197E7A #47197E #7E191D
square
#507E19 #197E7A #47197E #7E191D
split-complementary
#507E19 #191D7E #7A197E
monochromatic
#101A05 #304B0F #507E19 #70B123 #90D83A

Accessibility & contrast

On white

4.84
#507E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#507E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E19
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E19#FFFFFF#000000##FFFFFF
##507E191.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e19;
/* rgb */ color: rgb(80, 126, 25);
/* oklch */ color: oklch(54.0% 0.137 131.6);
Tailwind
colors: {
  custom: {
    50: '#85a35f',
    500: '#507e19',
    950: '#000000',
  },
}
SCSS
$custom: #507e19;
$custom-light: #85a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#507e19",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 87.327,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.1368,
    "h": 131.6
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#507E19
secondary
#7441B2
accent
#3EEA8C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507E19

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

Preview Lab → · Contrast checker → · Palette generator →

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