#507A3A#507A3A

#507A3A is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.3% C 0.104 H 135.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#507A3A
RGBrgb(80, 122, 58)
HSLhsl(99, 36%, 35%)
HSVhsv(99, 52%, 48%)
CMYKcmyk(34.4%, 0%, 52.5%, 52.2%)
CIE-LABlab(46.88, -27.15, 30.27)
CIE-LCHlch(46.88, 40.66, 131.89°)
OKLaboklab(53.28% -0.0748 0.0726)
OKLCHoklch(53.28% 0.104 135.9)
XYZxyz(11.0312, 15.9296, 6.4957)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A3A #643A7A
analogous
#707A3A #507A3A #3A7A44
triadic
#507A3A #3A507A #7A3A50
tetradic
#507A3A #3A707A #643A7A #7A443A
square
#507A3A #3A707A #643A7A #7A443A
split-complementary
#507A3A #443A7A #7A3A70
monochromatic
#1A2713 #355126 #507A3A #6BA34E #8CBC72

Accessibility & contrast

On white

5.02
#507A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#507A3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A3A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A3A#FFFFFF#000000##FFFFFF
##507A3A1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7134
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#4F766B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a3a;
/* rgb */ color: rgb(80, 122, 58);
/* oklch */ color: oklch(53.3% 0.104 135.9);
Tailwind
colors: {
  custom: {
    50: '#83a072',
    500: '#507a3a',
    950: '#000000',
  },
}
SCSS
$custom: #507a3a;
$custom-light: #83a072;
$custom-dark: #000000;
JSON
{
  "hex": "#507a3a",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 58
  },
  "hsl": {
    "h": 99.375,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.10421,
    "h": 135.9
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#507A3A
secondary
#916AA6
accent
#5CCCA5
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F08
muted
#7C7E7B

Preview Lab

Preview with #507A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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