#507A31#507A31

#507A31 is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.2% C 0.113 H 133.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#507A31
RGBrgb(80, 122, 49)
HSLhsl(95, 43%, 34%)
HSVhsv(95, 60%, 48%)
CMYKcmyk(34.4%, 0%, 59.8%, 52.2%)
CIE-LABlab(46.77, -28.23, 34.78)
CIE-LCHlch(46.77, 44.79, 129.07°)
OKLaboklab(53.15% -0.0784 0.0816)
OKLCHoklch(53.15% 0.113 133.9)
XYZxyz(10.8220, 15.8459, 5.3935)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A31 #5B317A
analogous
#747A31 #507A31 #317A36
triadic
#507A31 #31507A #7A3150
tetradic
#507A31 #31747A #5B317A #7A3631
square
#507A31 #31747A #5B317A #7A3631
split-complementary
#507A31 #36317A #7A3174
monochromatic
#17230E #334E1F #507A31 #6DA643 #8CC164

Accessibility & contrast

On white

5.04
#507A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507A31
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A31#FFFFFF#000000##FFFFFF
##507A311.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7129
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#50756A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a31;
/* rgb */ color: rgb(80, 122, 49);
/* oklch */ color: oklch(53.2% 0.113 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a06c',
    500: '#507a31',
    950: '#000000',
  },
}
SCSS
$custom: #507a31;
$custom-light: #84a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#507a31",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 94.521,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.11319,
    "h": 133.9
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#507A31
secondary
#895EA8
accent
#55D29D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507A31

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

Preview Lab → · Contrast checker → · Palette generator →

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