#507A52#507A52

#507A52 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.7% C 0.077 H 145.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#507A52
RGBrgb(80, 122, 82)
HSLhsl(123, 21%, 40%)
HSVhsv(123, 34%, 48%)
CMYKcmyk(34.4%, 0%, 32.8%, 52.2%)
CIE-LABlab(47.28, -23.39, 17.41)
CIE-LCHlch(47.28, 29.16, 143.35°)
OKLaboklab(53.73% -0.0638 0.0438)
OKLCHoklch(53.73% 0.077 145.5)
XYZxyz(11.7902, 16.2332, 10.4931)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A52 #7A5078
analogous
#637A50 #507A52 #507A67
triadic
#507A52 #52507A #7A5250
tetradic
#507A52 #50637A #7A5078 #7A6750
square
#507A52 #50637A #7A5078 #7A6750
split-complementary
#507A52 #67507A #7A5063
monochromatic
#203020 #385539 #507A52 #6A9D6C #8FB591

Accessibility & contrast

On white

4.94
#507A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#507A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A52
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A52#FFFFFF#000000##FFFFFF
##507A521.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B734F
Deuteranopia (green-blind)
#756E54
Tritanopia (blue-blind)
#4B7870
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507a52;
/* rgb */ color: rgb(80, 122, 82);
/* oklch */ color: oklch(53.7% 0.077 145.5);
Tailwind
colors: {
  custom: {
    50: '#83a083',
    500: '#507a52',
    950: '#000000',
  },
}
SCSS
$custom: #507a52;
$custom-light: #83a083;
$custom-dark: #000000;
JSON
{
  "hex": "#507a52",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 82
  },
  "hsl": {
    "h": 122.857,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.07742,
    "h": 145.5
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#507A52
secondary
#A383A1
accent
#6AB9BD
background
#F8F9F8
surface
#EFF2EF
border
#CACCCA
text
#0B0F0A
muted
#7C7E7C

Preview Lab

Preview with #507A52

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

Preview Lab → · Contrast checker → · Palette generator →

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