#507A36#507A36

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

Color values

HEX#507A36
RGBrgb(80, 122, 54)
HSLhsl(97, 39%, 35%)
HSVhsv(97, 56%, 48%)
CMYKcmyk(34.4%, 0%, 55.7%, 52.2%)
CIE-LABlab(46.83, -27.65, 32.30)
CIE-LCHlch(46.83, 42.52, 130.56°)
OKLaboklab(53.22% -0.0765 0.0767)
OKLCHoklch(53.22% 0.108 134.9)
XYZxyz(10.9334, 15.8904, 5.9804)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A36 #60367A
analogous
#727A36 #507A36 #367A3E
triadic
#507A36 #36507A #7A3650
tetradic
#507A36 #36727A #60367A #7A3E36
square
#507A36 #36727A #60367A #7A3E36
split-complementary
#507A36 #3E367A #7A3672
monochromatic
#182510 #345023 #507A36 #6CA449 #8CBE6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507A36#FFFFFF#000000##FFFFFF
##507A361.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #507a36;
/* rgb */ color: rgb(80, 122, 54);
/* oklch */ color: oklch(53.2% 0.108 134.9);
Tailwind
colors: {
  custom: {
    50: '#84a06f',
    500: '#507a36',
    950: '#000000',
  },
}
SCSS
$custom: #507a36;
$custom-light: #84a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#507a36",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 54
  },
  "hsl": {
    "h": 97.059,
    "s": 38.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.10831,
    "h": 134.9
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#507A36
secondary
#8E65A7
accent
#59CFA2
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507A36

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

Preview Lab → · Contrast checker → · Palette generator →

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