#507D2A#507D2A

#507D2A is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.9% C 0.124 H 133.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#507D2A
RGBrgb(80, 125, 42)
HSLhsl(93, 50%, 33%)
HSVhsv(93, 66%, 49%)
CMYKcmyk(36%, 0%, 66.4%, 51%)
CIE-LABlab(47.67, -30.36, 39.13)
CIE-LCHlch(47.67, 49.53, 127.80°)
OKLaboklab(53.86% -0.0848 0.0901)
OKLCHoklch(53.86% 0.124 133.3)
XYZxyz(11.0596, 16.5394, 4.7997)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D2A #572A7D
analogous
#7A7D2A #507D2A #2A7D2D
triadic
#507D2A #2A507D #7D2A50
tetradic
#507D2A #2A7A7D #572A7D #7D2D2A
square
#507D2A #2A7A7D #572A7D #7D2D2A
split-complementary
#507D2A #2D2A7D #7D2A7A
monochromatic
#15210B #334F1B #507D2A #6DAB39 #8CC85A

Accessibility & contrast

On white

4.87
#507D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#507D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D2A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D2A#FFFFFF#000000##FFFFFF
##507D2A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827320
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#50786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d2a;
/* rgb */ color: rgb(80, 125, 42);
/* oklch */ color: oklch(53.9% 0.124 133.3);
Tailwind
colors: {
  custom: {
    50: '#84a368',
    500: '#507d2a',
    950: '#000000',
  },
}
SCSS
$custom: #507d2a;
$custom-light: #84a368;
$custom-dark: #000000;
JSON
{
  "hex": "#507d2a",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 92.53,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.12376,
    "h": 133.3
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#507D2A
secondary
#8556AD
accent
#4FD99A
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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