#507A42#507A42

#507A42 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.4% C 0.096 H 138.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#507A42
RGBrgb(80, 122, 66)
HSLhsl(105, 30%, 37%)
HSVhsv(105, 46%, 48%)
CMYKcmyk(34.4%, 0%, 45.9%, 52.2%)
CIE-LABlab(47.00, -26.04, 26.08)
CIE-LCHlch(47.00, 36.86, 134.95°)
OKLaboklab(53.41% -0.0713 0.0637)
OKLCHoklch(53.41% 0.096 138.2)
XYZxyz(11.2508, 16.0174, 7.6521)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A42 #6C427A
analogous
#6C7A42 #507A42 #427A50
triadic
#507A42 #42507A #7A4250
tetradic
#507A42 #426C7A #6C427A #7A5042
square
#507A42 #426C7A #6C427A #7A5042
split-complementary
#507A42 #50427A #7A426C
monochromatic
#1C2B17 #36522D #507A42 #6AA257 #8CB97D

Accessibility & contrast

On white

5.00
#507A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#507A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A42
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A42#FFFFFF#000000##FFFFFF
##507A421.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723E
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#4E776D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a42;
/* rgb */ color: rgb(80, 122, 66);
/* oklch */ color: oklch(53.4% 0.096 138.2);
Tailwind
colors: {
  custom: {
    50: '#83a077',
    500: '#507a42',
    950: '#000000',
  },
}
SCSS
$custom: #507a42;
$custom-light: #83a077;
$custom-dark: #000000;
JSON
{
  "hex": "#507a42",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 105,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53408,
    "c": 0.09558,
    "h": 138.2
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#507A42
secondary
#9874A4
accent
#62C6AD
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0F09
muted
#7C7E7B

Preview Lab

Preview with #507A42

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

Preview Lab → · Contrast checker → · Palette generator →

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