#507E1A#507E1A

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

Color values

HEX#507E1A
RGBrgb(80, 126, 26)
HSLhsl(88, 66%, 30%)
HSVhsv(88, 79%, 49%)
CMYKcmyk(36.5%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.88, -32.02, 45.81)
CIE-LCHlch(47.88, 55.89, 124.95°)
OKLaboklab(54% -0.0907 0.1017)
OKLCHoklch(54% 0.136 131.7)
XYZxyz(10.9555, 16.7013, 3.6235)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E1A #481A7E
analogous
#7E7A1A #507E1A #1E7E1A
triadic
#507E1A #1A507E #7E1A50
tetradic
#507E1A #1A7E7A #481A7E #7E1A1E
square
#507E1A #1A7E7A #481A7E #7E1A1E
split-complementary
#507E1A #1A1E7E #7A1A7E
monochromatic
#101905 #304B10 #507E1A #70B124 #8FD73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507E1A#FFFFFF#000000##FFFFFF
##507E1A1.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)
#847402
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e1a;
/* rgb */ color: rgb(80, 126, 26);
/* oklch */ color: oklch(54.0% 0.136 131.7);
Tailwind
colors: {
  custom: {
    50: '#85a35f',
    500: '#507e1a',
    950: '#000000',
  },
}
SCSS
$custom: #507e1a;
$custom-light: #85a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#507e1a",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 87.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.13625,
    "h": 131.7
  },
  "luminance": 0.16702
}

Semantic roles & 50–950 ramp

primary
#507E1A
secondary
#7542B2
accent
#3FE98D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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