#52845B#52845B

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

Color values

HEX#52845B
RGBrgb(82, 132, 91)
HSLhsl(131, 23%, 42%)
HSVhsv(131, 38%, 52%)
CMYKcmyk(37.9%, 0%, 31.1%, 48.2%)
CIE-LABlab(50.75, -26.06, 16.97)
CIE-LCHlch(50.75, 31.10, 146.94°)
OKLaboklab(56.62% -0.0712 0.0429)
OKLCHoklch(56.62% 0.083 148.9)
XYZxyz(13.6185, 19.0509, 12.8551)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52845B #84527B
analogous
#628452 #52845B #528474
triadic
#52845B #5B5284 #845B52
tetradic
#52845B #526284 #84527B #847452
square
#52845B #526284 #84527B #847452
split-complementary
#52845B #745284 #845262
monochromatic
#233927 #3B5E41 #52845B #6EA578 #94BC9B

Accessibility & contrast

On white

4.37
#52845B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##52845B#FFFFFF#000000##000000
##52845B1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C58
Deuteranopia (green-blind)
#7D775D
Tritanopia (blue-blind)
#4B8279
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52845b;
/* rgb */ color: rgb(82, 132, 91);
/* oklch */ color: oklch(56.6% 0.083 148.9);
Tailwind
colors: {
  custom: {
    50: '#85a889',
    500: '#52845b',
    950: '#000000',
  },
}
SCSS
$custom: #52845b;
$custom-light: #85a889;
$custom-dark: #000000;
JSON
{
  "hex": "#52845b",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 91
  },
  "hsl": {
    "h": 130.8,
    "s": 23.364,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.0831,
    "h": 148.9
  },
  "luminance": 0.19052
}

Semantic roles & 50–950 ramp

primary
#52845B
secondary
#AA88A4
accent
#68B0C0
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #52845B

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

Preview Lab → · Contrast checker → · Palette generator →

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