#528C40#528C40

#528C40 is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.2% C 0.125 H 138.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#528C40
RGBrgb(82, 140, 64)
HSLhsl(106, 37%, 40%)
HSVhsv(106, 54%, 55%)
CMYKcmyk(41.4%, 0%, 54.3%, 45.1%)
CIE-LABlab(52.86, -34.13, 34.40)
CIE-LCHlch(52.86, 48.46, 134.77°)
OKLaboklab(58.2% -0.0937 0.0821)
OKLCHoklch(58.2% 0.125 138.8)
XYZxyz(13.7827, 20.9194, 8.1611)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C40 #7A408C
analogous
#788C40 #528C40 #408C54
triadic
#528C40 #40528C #8C4052
tetradic
#528C40 #40788C #7A408C #8C5440
square
#528C40 #40788C #7A408C #8C5440
split-complementary
#528C40 #54408C #8C4078
monochromatic
#21381A #39622D #528C40 #6DB257 #91C581

Accessibility & contrast

On white

4.05
#528C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#528C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C40
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C40#FFFFFF#000000##000000
##528C401.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908139
Deuteranopia (green-blind)
#887C45
Tritanopia (blue-blind)
#4E887B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c40;
/* rgb */ color: rgb(82, 140, 64);
/* oklch */ color: oklch(58.2% 0.125 138.8);
Tailwind
colors: {
  custom: {
    50: '#86ae77',
    500: '#528c40',
    950: '#000000',
  },
}
SCSS
$custom: #528c40;
$custom-light: #86ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#528c40",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 105.789,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.582,
    "c": 0.12455,
    "h": 138.8
  },
  "luminance": 0.2092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #528C40

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

Preview Lab → · Contrast checker → · Palette generator →

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