#528D2A#528D2A

#528D2A is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.145 H 135.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#528D2A
RGBrgb(82, 141, 42)
HSLhsl(96, 54%, 36%)
HSVhsv(96, 70%, 55%)
CMYKcmyk(41.8%, 0%, 70.2%, 44.7%)
CIE-LABlab(52.96, -36.87, 44.79)
CIE-LCHlch(52.96, 58.02, 129.46°)
OKLaboklab(58.21% -0.1027 0.102)
OKLCHoklch(58.21% 0.145 135.2)
XYZxyz(13.4222, 21.0100, 5.5382)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D2A #652A8D
analogous
#838D2A #528D2A #2A8D34
triadic
#528D2A #2A528D #8D2A52
tetradic
#528D2A #2A838D #652A8D #8D342A
square
#528D2A #2A838D #652A8D #8D342A
split-complementary
#528D2A #342A8D #8D2A83
monochromatic
#1B2F0E #375E1C #528D2A #6DBC38 #8ED061

Accessibility & contrast

On white

4.04
#528D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#528D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D2A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D2A#FFFFFF#000000##000000
##528D2A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821B
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d2a;
/* rgb */ color: rgb(82, 141, 42);
/* oklch */ color: oklch(58.2% 0.145 135.2);
Tailwind
colors: {
  custom: {
    50: '#88af69',
    500: '#528d2a',
    950: '#000000',
  },
}
SCSS
$custom: #528d2a;
$custom-light: #88af69;
$custom-dark: #000000;
JSON
{
  "hex": "#528d2a",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 95.758,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5821,
    "c": 0.14475,
    "h": 135.2
  },
  "luminance": 0.21011
}

Semantic roles & 50–950 ramp

primary
#528D2A
secondary
#925DB6
accent
#4ADDA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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