#52874E#52874E

#52874E is a mid, moderate green. Relative luminance 0.197; OKLCH L 57.1% C 0.102 H 142.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#52874E
RGBrgb(82, 135, 78)
HSLhsl(116, 27%, 42%)
HSVhsv(116, 42%, 53%)
CMYKcmyk(39.3%, 0%, 42.2%, 47.1%)
CIE-LABlab(51.46, -29.80, 25.21)
CIE-LCHlch(51.46, 39.03, 139.76°)
OKLaboklab(57.13% -0.0812 0.0622)
OKLCHoklch(57.13% 0.102 142.6)
XYZxyz(13.5182, 19.6711, 10.2909)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52874E #834E87
analogous
#6F874E #52874E #4E8767
triadic
#52874E #4E5287 #874E52
tetradic
#52874E #4E6F87 #834E87 #87674E
square
#52874E #4E6F87 #834E87 #87674E
split-complementary
#52874E #674E87 #874E6F
monochromatic
#233921 #3A6038 #52874E #6EA96A #94BF90

Accessibility & contrast

On white

4.26
#52874E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#52874E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52874E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52874E#FFFFFF#000000##000000
##52874E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4A
Deuteranopia (green-blind)
#827951
Tritanopia (blue-blind)
#4D8479
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #52874e;
/* rgb */ color: rgb(82, 135, 78);
/* oklch */ color: oklch(57.1% 0.102 142.6);
Tailwind
colors: {
  custom: {
    50: '#85aa80',
    500: '#52874e',
    950: '#000000',
  },
}
SCSS
$custom: #52874e;
$custom-light: #85aa80;
$custom-dark: #000000;
JSON
{
  "hex": "#52874e",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 115.789,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.10229,
    "h": 142.6
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#52874E
secondary
#A985AC
accent
#65C3BC
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #52874E

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

Preview Lab → · Contrast checker → · Palette generator →

#52874E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva