#507D2B#507D2B

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

Color values

HEX#507D2B
RGBrgb(80, 125, 43)
HSLhsl(93, 49%, 33%)
HSVhsv(93, 66%, 49%)
CMYKcmyk(36%, 0%, 65.6%, 51%)
CIE-LABlab(47.68, -30.26, 38.68)
CIE-LCHlch(47.68, 49.12, 128.04°)
OKLaboklab(53.87% -0.0845 0.0893)
OKLCHoklch(53.87% 0.123 133.4)
XYZxyz(11.0777, 16.5467, 4.8952)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D2B #582B7D
analogous
#797D2B #507D2B #2B7D2F
triadic
#507D2B #2B507D #7D2B50
tetradic
#507D2B #2B797D #582B7D #7D2F2B
square
#507D2B #2B797D #582B7D #7D2F2B
split-complementary
#507D2B #2F2B7D #7D2B79
monochromatic
#16220C #334F1B #507D2B #6DAB3B #8CC75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507D2B#FFFFFF#000000##FFFFFF
##507D2B1.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)
#827321
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#50786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507d2b;
/* rgb */ color: rgb(80, 125, 43);
/* oklch */ color: oklch(53.9% 0.123 133.4);
Tailwind
colors: {
  custom: {
    50: '#84a368',
    500: '#507d2b',
    950: '#000000',
  },
}
SCSS
$custom: #507d2b;
$custom-light: #84a368;
$custom-dark: #000000;
JSON
{
  "hex": "#507d2b",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 92.927,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.12292,
    "h": 133.4
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#507D2B
secondary
#8657AD
accent
#4FD89B
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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