#528142#528142

#528142 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.4% C 0.106 H 138.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#528142
RGBrgb(82, 129, 66)
HSLhsl(105, 32%, 38%)
HSVhsv(105, 49%, 51%)
CMYKcmyk(36.4%, 0%, 48.8%, 49.4%)
CIE-LABlab(49.36, -28.73, 29.07)
CIE-LCHlch(49.36, 40.87, 134.66°)
OKLaboklab(55.36% -0.0787 0.0704)
OKLCHoklch(55.36% 0.106 138.2)
XYZxyz(12.3129, 17.8871, 7.9570)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528142 #714281
analogous
#718142 #528142 #428151
triadic
#528142 #425281 #814252
tetradic
#528142 #427181 #714281 #815142
square
#528142 #427181 #714281 #815142
split-complementary
#528142 #514281 #814271
monochromatic
#1F3019 #38592D #528142 #6CA957 #8FBE80

Accessibility & contrast

On white

4.59
#528142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#528142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528142
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528142#FFFFFF#000000##FFFFFF
##5281421.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783D
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#507D72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528142;
/* rgb */ color: rgb(82, 129, 66);
/* oklch */ color: oklch(55.4% 0.106 138.2);
Tailwind
colors: {
  custom: {
    50: '#85a677',
    500: '#528142',
    950: '#000000',
  },
}
SCSS
$custom: #528142;
$custom-light: #85a677;
$custom-dark: #000000;
JSON
{
  "hex": "#528142",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 104.762,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.10563,
    "h": 138.2
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#528142
secondary
#9C76A9
accent
#5FC8AE
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #528142

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

Preview Lab → · Contrast checker → · Palette generator →

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