#507A37#507A37

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

Color values

HEX#507A37
RGBrgb(80, 122, 55)
HSLhsl(98, 38%, 35%)
HSVhsv(98, 55%, 48%)
CMYKcmyk(34.4%, 0%, 54.9%, 52.2%)
CIE-LABlab(46.84, -27.53, 31.80)
CIE-LCHlch(46.84, 42.06, 130.88°)
OKLaboklab(53.23% -0.0761 0.0757)
OKLCHoklch(53.23% 0.107 135.1)
XYZxyz(10.9571, 15.8999, 6.1054)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A37 #61377A
analogous
#727A37 #507A37 #377A40
triadic
#507A37 #37507A #7A3750
tetradic
#507A37 #37727A #61377A #7A4037
square
#507A37 #37727A #61377A #7A4037
split-complementary
#507A37 #40377A #7A3772
monochromatic
#192611 #345024 #507A37 #6CA44A #8CBE6E

Accessibility & contrast

On white

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

On black

4.18
#507A37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507A37#FFFFFF#000000##FFFFFF
##507A371.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507a37;
/* rgb */ color: rgb(80, 122, 55);
/* oklch */ color: oklch(53.2% 0.107 135.1);
Tailwind
colors: {
  custom: {
    50: '#84a070',
    500: '#507a37',
    950: '#000000',
  },
}
SCSS
$custom: #507a37;
$custom-light: #84a070;
$custom-dark: #000000;
JSON
{
  "hex": "#507a37",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 55
  },
  "hsl": {
    "h": 97.612,
    "s": 37.853,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.1073,
    "h": 135.1
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#507A37
secondary
#8F66A6
accent
#5ACEA3
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507A37

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

Preview Lab → · Contrast checker → · Palette generator →

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