#507252#507252

#507252 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.7% C 0.063 H 146.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#507252
RGBrgb(80, 114, 82)
HSLhsl(124, 18%, 38%)
HSVhsv(124, 30%, 45%)
CMYKcmyk(29.8%, 0%, 28.1%, 55.3%)
CIE-LABlab(44.73, -19.23, 13.94)
CIE-LCHlch(44.73, 23.75, 144.07°)
OKLaboklab(51.67% -0.0525 0.0354)
OKLCHoklch(51.67% 0.063 146)
XYZxyz(10.8481, 14.3489, 10.1790)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507252 #725070
analogous
#5F7250 #507252 #507263
triadic
#507252 #525072 #725250
tetradic
#507252 #505F72 #725070 #726350
square
#507252 #505F72 #725070 #726350
split-complementary
#507252 #635072 #72505F
monochromatic
#1E2A1E #374E38 #507252 #69966C #8DAF8F

Accessibility & contrast

On white

5.43
#507252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#507252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507252
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507252#FFFFFF#000000##FFFFFF
##5072521.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736C50
Deuteranopia (green-blind)
#6E6854
Tritanopia (blue-blind)
#4C7069
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #507252;
/* rgb */ color: rgb(80, 114, 82);
/* oklch */ color: oklch(51.7% 0.063 146.0);
Tailwind
colors: {
  custom: {
    50: '#829a82',
    500: '#507252',
    950: '#000000',
  },
}
SCSS
$custom: #507252;
$custom-light: #829a82;
$custom-dark: #000000;
JSON
{
  "hex": "#507252",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 123.529,
    "s": 17.526,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.06335,
    "h": 146
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#507252
secondary
#9D819B
accent
#6EB6BA
background
#F8F9F8
surface
#EFF2EF
border
#CACCCA
text
#0A0E0A
muted
#7C7E7C

Preview Lab

Preview with #507252

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

Preview Lab → · Contrast checker → · Palette generator →

#507252 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva