#52845C#52845C

#52845C is a mid, moderate green. Relative luminance 0.191; OKLCH L 56.6% C 0.082 H 149.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#52845C
RGBrgb(82, 132, 92)
HSLhsl(132, 23%, 42%)
HSVhsv(132, 38%, 52%)
CMYKcmyk(37.9%, 0%, 30.3%, 48.2%)
CIE-LABlab(50.77, -25.87, 16.42)
CIE-LCHlch(50.77, 30.64, 147.60°)
OKLaboklab(56.65% -0.0707 0.0416)
OKLCHoklch(56.65% 0.082 149.5)
XYZxyz(13.6620, 19.0683, 13.0838)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52845C #84527A
analogous
#618452 #52845C #528475
triadic
#52845C #5C5284 #845C52
tetradic
#52845C #526184 #84527A #847552
square
#52845C #526184 #84527A #847552
split-complementary
#52845C #755284 #845261
monochromatic
#233927 #3B5E42 #52845C #6EA579 #94BC9C

Accessibility & contrast

On white

4.36
#52845C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#52845C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52845C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52845C#FFFFFF#000000##000000
##52845C1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C5A
Deuteranopia (green-blind)
#7D775E
Tritanopia (blue-blind)
#4A8279
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52845c;
/* rgb */ color: rgb(82, 132, 92);
/* oklch */ color: oklch(56.6% 0.082 149.5);
Tailwind
colors: {
  custom: {
    50: '#85a88a',
    500: '#52845c',
    950: '#000000',
  },
}
SCSS
$custom: #52845c;
$custom-light: #85a88a;
$custom-dark: #000000;
JSON
{
  "hex": "#52845c",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 92
  },
  "hsl": {
    "h": 132,
    "s": 23.364,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.08202,
    "h": 149.5
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#52845C
secondary
#AA88A3
accent
#68AEC0
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #52845C

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

Preview Lab → · Contrast checker → · Palette generator →

#52845C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva