#507B3C#507B3C

#507B3C is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.6% C 0.104 H 136.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#507B3C
RGBrgb(80, 123, 60)
HSLhsl(101, 34%, 36%)
HSVhsv(101, 51%, 48%)
CMYKcmyk(35%, 0%, 51.2%, 51.8%)
CIE-LABlab(47.23, -27.37, 29.63)
CIE-LCHlch(47.23, 40.34, 132.73°)
OKLaboklab(53.57% -0.0753 0.0713)
OKLCHoklch(53.57% 0.104 136.6)
XYZxyz(11.2065, 16.1972, 6.8100)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B3C #673C7B
analogous
#6F7B3C #507B3C #3C7B47
triadic
#507B3C #3C507B #7B3C50
tetradic
#507B3C #3C6F7B #673C7B #7B473C
square
#507B3C #3C6F7B #673C7B #7B473C
split-complementary
#507B3C #473C7B #7B3C6F
monochromatic
#1A2914 #355228 #507B3C #6BA450 #8CBC75

Accessibility & contrast

On white

4.95
#507B3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#507B3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507B3C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B3C#FFFFFF#000000##FFFFFF
##507B3C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7237
Deuteranopia (green-blind)
#796F40
Tritanopia (blue-blind)
#4F776C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507b3c;
/* rgb */ color: rgb(80, 123, 60);
/* oklch */ color: oklch(53.6% 0.104 136.6);
Tailwind
colors: {
  custom: {
    50: '#83a173',
    500: '#507b3c',
    950: '#000000',
  },
}
SCSS
$custom: #507b3c;
$custom-light: #83a173;
$custom-dark: #000000;
JSON
{
  "hex": "#507b3c",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 60
  },
  "hsl": {
    "h": 100.952,
    "s": 34.426,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.10369,
    "h": 136.6
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#507B3C
secondary
#946DA6
accent
#5DCBA8
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0F08
muted
#7C7E7B

Preview Lab

Preview with #507B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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