#507C42#507C42

#507C42 is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.9% C 0.099 H 138.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#507C42
RGBrgb(80, 124, 66)
HSLhsl(106, 31%, 37%)
HSVhsv(106, 47%, 49%)
CMYKcmyk(35.5%, 0%, 46.8%, 51.4%)
CIE-LABlab(47.64, -27.02, 26.90)
CIE-LCHlch(47.64, 38.13, 135.14°)
OKLaboklab(53.93% -0.074 0.0655)
OKLCHoklch(53.93% 0.099 138.5)
XYZxyz(11.4989, 16.5136, 7.7348)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C42 #6E427C
analogous
#6D7C42 #507C42 #427C51
triadic
#507C42 #42507C #7C4250
tetradic
#507C42 #426D7C #6E427C #7C5142
square
#507C42 #426D7C #6E427C #7C5142
split-complementary
#507C42 #51427C #7C426D
monochromatic
#1C2C17 #36542D #507C42 #6AA457 #8DBA7E

Accessibility & contrast

On white

4.88
#507C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#507C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C42
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C42#FFFFFF#000000##FFFFFF
##507C421.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F743D
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#4E786E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507c42;
/* rgb */ color: rgb(80, 124, 66);
/* oklch */ color: oklch(53.9% 0.099 138.5);
Tailwind
colors: {
  custom: {
    50: '#83a277',
    500: '#507c42',
    950: '#000000',
  },
}
SCSS
$custom: #507c42;
$custom-light: #83a277;
$custom-dark: #000000;
JSON
{
  "hex": "#507c42",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 105.517,
    "s": 30.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.09882,
    "h": 138.5
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

primary
#507C42
secondary
#9A75A5
accent
#61C7AE
background
#F8FAF7
surface
#EFF3ED
border
#CACDC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #507C42

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

Preview Lab → · Contrast checker → · Palette generator →

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