#528E40#528E40

#528E40 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.7% C 0.128 H 138.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#528E40
RGBrgb(82, 142, 64)
HSLhsl(106, 38%, 40%)
HSVhsv(106, 55%, 56%)
CMYKcmyk(42.3%, 0%, 54.9%, 44.3%)
CIE-LABlab(53.50, -35.03, 35.17)
CIE-LCHlch(53.50, 49.64, 134.89°)
OKLaboklab(58.72% -0.0961 0.0838)
OKLCHoklch(58.72% 0.128 138.9)
XYZxyz(14.0776, 21.5092, 8.2594)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E40 #7C408E
analogous
#798E40 #528E40 #408E55
triadic
#528E40 #40528E #8E4052
tetradic
#528E40 #40798E #7C408E #8E5540
square
#528E40 #40798E #7C408E #8E5540
split-complementary
#528E40 #55408E #8E4079
monochromatic
#213A1A #3A642D #528E40 #6DB458 #92C782

Accessibility & contrast

On white

3.96
#528E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#528E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E40
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E40#FFFFFF#000000##000000
##528E401.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#897E45
Tritanopia (blue-blind)
#4E8A7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528e40;
/* rgb */ color: rgb(82, 142, 64);
/* oklch */ color: oklch(58.7% 0.128 138.9);
Tailwind
colors: {
  custom: {
    50: '#87af77',
    500: '#528e40',
    950: '#000000',
  },
}
SCSS
$custom: #528e40;
$custom-light: #87af77;
$custom-dark: #000000;
JSON
{
  "hex": "#528e40",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 106.154,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.12751,
    "h": 138.9
  },
  "luminance": 0.2151
}

Semantic roles & 50–950 ramp

primary
#528E40
secondary
#A479B1
accent
#5ACEB3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #528E40

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

Preview Lab → · Contrast checker → · Palette generator →

#528E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva