#52845F#52845F

#52845F is a mid, moderate green. Relative luminance 0.191; OKLCH L 56.7% C 0.079 H 151.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#52845F
RGBrgb(82, 132, 95)
HSLhsl(136, 23%, 42%)
HSVhsv(136, 38%, 52%)
CMYKcmyk(37.9%, 0%, 28%, 48.2%)
CIE-LABlab(50.83, -25.29, 14.79)
CIE-LCHlch(50.83, 29.30, 149.68°)
OKLaboklab(56.72% -0.0693 0.0376)
OKLCHoklch(56.72% 0.079 151.5)
XYZxyz(13.7957, 19.1218, 13.7882)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52845F #845277
analogous
#5E8452 #52845F #528478
triadic
#52845F #5F5284 #845F52
tetradic
#52845F #525E84 #845277 #847852
square
#52845F #525E84 #845277 #847852
split-complementary
#52845F #785284 #84525E
monochromatic
#233929 #3B5E44 #52845F #6EA57C #94BC9E

Accessibility & contrast

On white

4.35
#52845F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#52845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52845F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52845F#FFFFFF#000000##000000
##52845F1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847C5D
Deuteranopia (green-blind)
#7D7761
Tritanopia (blue-blind)
#4A827A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52845f;
/* rgb */ color: rgb(82, 132, 95);
/* oklch */ color: oklch(56.7% 0.079 151.5);
Tailwind
colors: {
  custom: {
    50: '#85a88c',
    500: '#52845f',
    950: '#000000',
  },
}
SCSS
$custom: #52845f;
$custom-light: #85a88c;
$custom-dark: #000000;
JSON
{
  "hex": "#52845f",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 135.6,
    "s": 23.364,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.07881,
    "h": 151.5
  },
  "luminance": 0.19123
}

Semantic roles & 50–950 ramp

primary
#52845F
secondary
#AA88A1
accent
#68A9C0
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #52845F

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

Preview Lab → · Contrast checker → · Palette generator →

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