#507E52#507E52

#507E52 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.8% C 0.084 H 145.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#507E52
RGBrgb(80, 126, 82)
HSLhsl(123, 22%, 40%)
HSVhsv(123, 37%, 49%)
CMYKcmyk(36.5%, 0%, 34.9%, 50.6%)
CIE-LABlab(48.56, -25.41, 19.12)
CIE-LCHlch(48.56, 31.80, 143.03°)
OKLaboklab(54.76% -0.0693 0.048)
OKLCHoklch(54.76% 0.084 145.3)
XYZxyz(12.2915, 17.2358, 10.6602)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E52 #7E507C
analogous
#657E50 #507E52 #507E69
triadic
#507E52 #52507E #7E5250
tetradic
#507E52 #50657E #7E507C #7E6950
square
#507E52 #50657E #7E507C #7E6950
split-complementary
#507E52 #69507E #7E5065
monochromatic
#203321 #38593A #507E52 #6AA16D #90B892

Accessibility & contrast

On white

4.72
#507E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#507E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E52
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E52#FFFFFF#000000##FFFFFF
##507E521.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764F
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#4B7C73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #507e52;
/* rgb */ color: rgb(80, 126, 82);
/* oklch */ color: oklch(54.8% 0.084 145.3);
Tailwind
colors: {
  custom: {
    50: '#83a383',
    500: '#507e52',
    950: '#000000',
  },
}
SCSS
$custom: #507e52;
$custom-light: #83a383;
$custom-dark: #000000;
JSON
{
  "hex": "#507e52",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 122.609,
    "s": 22.33,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.08426,
    "h": 145.3
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#507E52
secondary
#A584A4
accent
#69BBBF
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #507E52

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

Preview Lab → · Contrast checker → · Palette generator →

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