#507A32#507A32

#507A32 is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.112 H 134.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#507A32
RGBrgb(80, 122, 50)
HSLhsl(95, 42%, 34%)
HSVhsv(95, 59%, 48%)
CMYKcmyk(34.4%, 0%, 59%, 52.2%)
CIE-LABlab(46.78, -28.12, 34.29)
CIE-LCHlch(46.78, 44.34, 129.35°)
OKLaboklab(53.16% -0.078 0.0807)
OKLCHoklch(53.16% 0.112 134.1)
XYZxyz(10.8433, 15.8544, 5.5059)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A32 #5C327A
analogous
#747A32 #507A32 #327A38
triadic
#507A32 #32507A #7A3250
tetradic
#507A32 #32747A #5C327A #7A3832
square
#507A32 #32747A #5C327A #7A3832
split-complementary
#507A32 #38327A #7A3274
monochromatic
#17230E #344F20 #507A32 #6CA544 #8CC066

Accessibility & contrast

On white

5.03
#507A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#507A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A32
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A32#FFFFFF#000000##FFFFFF
##507A321.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712B
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#50766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a32;
/* rgb */ color: rgb(80, 122, 50);
/* oklch */ color: oklch(53.2% 0.112 134.1);
Tailwind
colors: {
  custom: {
    50: '#84a06c',
    500: '#507a32',
    950: '#000000',
  },
}
SCSS
$custom: #507a32;
$custom-light: #84a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#507a32",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 50
  },
  "hsl": {
    "h": 95,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.11223,
    "h": 134.1
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#507A32
secondary
#8A60A8
accent
#56D29E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507A32

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

Preview Lab → · Contrast checker → · Palette generator →

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