#507A2A#507A2A

#507A2A is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.1% C 0.119 H 132.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#507A2A
RGBrgb(80, 122, 42)
HSLhsl(92, 49%, 32%)
HSVhsv(92, 66%, 48%)
CMYKcmyk(34.4%, 0%, 65.6%, 52.2%)
CIE-LABlab(46.70, -28.94, 38.07)
CIE-LCHlch(46.70, 47.82, 127.24°)
OKLaboklab(53.07% -0.081 0.0878)
OKLCHoklch(53.07% 0.119 132.7)
XYZxyz(10.6856, 15.7913, 4.6751)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A2A #542A7A
analogous
#787A2A #507A2A #2A7A2C
triadic
#507A2A #2A507A #7A2A50
tetradic
#507A2A #2A787A #542A7A #7A2C2A
square
#507A2A #2A787A #542A7A #7A2C2A
split-complementary
#507A2A #2C2A7A #7A2A78
monochromatic
#141F0B #324C1A #507A2A #6EA83A #8CC659

Accessibility & contrast

On white

5.05
#507A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#507A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A2A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A2A#FFFFFF#000000##FFFFFF
##507A2A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#517569
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a2a;
/* rgb */ color: rgb(80, 122, 42);
/* oklch */ color: oklch(53.1% 0.119 132.7);
Tailwind
colors: {
  custom: {
    50: '#84a067',
    500: '#507a2a',
    950: '#000000',
  },
}
SCSS
$custom: #507a2a;
$custom-light: #84a067;
$custom-dark: #000000;
JSON
{
  "hex": "#507a2a",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 91.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5307,
    "c": 0.11947,
    "h": 132.7
  },
  "luminance": 0.15792
}

Semantic roles & 50–950 ramp

primary
#507A2A
secondary
#8255AB
accent
#4FD897
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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