#528D40#528D40

#528D40 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.5% C 0.126 H 138.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#528D40
RGBrgb(82, 141, 64)
HSLhsl(106, 38%, 40%)
HSVhsv(106, 55%, 55%)
CMYKcmyk(41.8%, 0%, 54.6%, 44.7%)
CIE-LABlab(53.18, -34.58, 34.79)
CIE-LCHlch(53.18, 49.05, 134.83°)
OKLaboklab(58.46% -0.0949 0.0829)
OKLCHoklch(58.46% 0.126 138.8)
XYZxyz(13.9295, 21.2130, 8.2100)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D40 #7B408D
analogous
#788D40 #528D40 #408D54
triadic
#528D40 #40528D #8D4052
tetradic
#528D40 #40788D #7B408D #8D5440
square
#528D40 #40788D #7B408D #8D5440
split-complementary
#528D40 #54408D #8D4078
monochromatic
#21391A #3A632D #528D40 #6DB357 #91C681

Accessibility & contrast

On white

4.01
#528D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#528D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D40
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D40#FFFFFF#000000##000000
##528D401.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#897D45
Tritanopia (blue-blind)
#4E897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528d40;
/* rgb */ color: rgb(82, 141, 64);
/* oklch */ color: oklch(58.5% 0.126 138.8);
Tailwind
colors: {
  custom: {
    50: '#86af77',
    500: '#528d40',
    950: '#000000',
  },
}
SCSS
$custom: #528d40;
$custom-light: #86af77;
$custom-dark: #000000;
JSON
{
  "hex": "#528d40",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 105.974,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58462,
    "c": 0.12604,
    "h": 138.8
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #528D40

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

Preview Lab → · Contrast checker → · Palette generator →

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