#507A34#507A34

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

Color values

HEX#507A34
RGBrgb(80, 122, 52)
HSLhsl(96, 40%, 34%)
HSVhsv(96, 57%, 48%)
CMYKcmyk(34.4%, 0%, 57.4%, 52.2%)
CIE-LABlab(46.81, -27.89, 33.30)
CIE-LCHlch(46.81, 43.44, 129.94°)
OKLaboklab(53.19% -0.0773 0.0787)
OKLCHoklch(53.19% 0.11 134.5)
XYZxyz(10.8874, 15.8720, 5.7381)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A34 #5E347A
analogous
#737A34 #507A34 #347A3B
triadic
#507A34 #34507A #7A3450
tetradic
#507A34 #34737A #5E347A #7A3B34
square
#507A34 #34737A #5E347A #7A3B34
split-complementary
#507A34 #3B347A #7A3473
monochromatic
#18240F #344F22 #507A34 #6CA546 #8CBF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507A34#FFFFFF#000000##FFFFFF
##507A341.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)
#7E712D
Deuteranopia (green-blind)
#786E39
Tritanopia (blue-blind)
#50766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a34;
/* rgb */ color: rgb(80, 122, 52);
/* oklch */ color: oklch(53.2% 0.110 134.5);
Tailwind
colors: {
  custom: {
    50: '#84a06e',
    500: '#507a34',
    950: '#000000',
  },
}
SCSS
$custom: #507a34;
$custom-light: #84a06e;
$custom-dark: #000000;
JSON
{
  "hex": "#507a34",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 96,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.1103,
    "h": 134.5
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#507A34
secondary
#8C63A7
accent
#58D0A0
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #507A34

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

Preview Lab → · Contrast checker → · Palette generator →

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