#528B40#528B40

#528B40 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.9% C 0.123 H 138.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#528B40
RGBrgb(82, 139, 64)
HSLhsl(106, 37%, 40%)
HSVhsv(106, 54%, 55%)
CMYKcmyk(41%, 0%, 54%, 45.5%)
CIE-LABlab(52.54, -33.68, 34.02)
CIE-LCHlch(52.54, 47.87, 134.71°)
OKLaboklab(57.94% -0.0924 0.0813)
OKLCHoklch(57.94% 0.123 138.7)
XYZxyz(13.6372, 20.6285, 8.1126)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B40 #79408B
analogous
#788B40 #528B40 #408B54
triadic
#528B40 #40528B #8B4052
tetradic
#528B40 #40788B #79408B #8B5440
square
#528B40 #40788B #79408B #8B5440
split-complementary
#528B40 #54408B #8B4078
monochromatic
#213719 #39612D #528B40 #6CB257 #91C581

Accessibility & contrast

On white

4.10
#528B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#528B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B40
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B40#FFFFFF#000000##000000
##528B401.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#877B45
Tritanopia (blue-blind)
#4E877A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b40;
/* rgb */ color: rgb(82, 139, 64);
/* oklch */ color: oklch(57.9% 0.123 138.7);
Tailwind
colors: {
  custom: {
    50: '#86ad77',
    500: '#528b40',
    950: '#000000',
  },
}
SCSS
$custom: #528b40;
$custom-light: #86ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#528b40",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 105.6,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.12306,
    "h": 138.7
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #528B40

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

Preview Lab → · Contrast checker → · Palette generator →

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