#528C2A#528C2A

#528C2A is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.143 H 135.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#528C2A
RGBrgb(82, 140, 42)
HSLhsl(96, 54%, 36%)
HSVhsv(96, 70%, 55%)
CMYKcmyk(41.4%, 0%, 70%, 45.1%)
CIE-LABlab(52.64, -36.43, 44.46)
CIE-LCHlch(52.64, 57.48, 129.33°)
OKLaboklab(57.95% -0.1015 0.1013)
OKLCHoklch(57.95% 0.143 135.1)
XYZxyz(13.2754, 20.7165, 5.4892)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C2A #642A8C
analogous
#838C2A #528C2A #2A8C33
triadic
#528C2A #2A528C #8C2A52
tetradic
#528C2A #2A838C #642A8C #8C332A
square
#528C2A #2A838C #642A8C #8C332A
split-complementary
#528C2A #332A8C #8C2A83
monochromatic
#1B2E0E #365D1C #528C2A #6EBB38 #8ED061

Accessibility & contrast

On white

4.08
#528C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#528C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C2A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C2A#FFFFFF#000000##000000
##528C2A1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811C
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c2a;
/* rgb */ color: rgb(82, 140, 42);
/* oklch */ color: oklch(57.9% 0.143 135.1);
Tailwind
colors: {
  custom: {
    50: '#87ae69',
    500: '#528c2a',
    950: '#000000',
  },
}
SCSS
$custom: #528c2a;
$custom-light: #87ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#528c2a",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 95.51,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.1434,
    "h": 135.1
  },
  "luminance": 0.20717
}

Semantic roles & 50–950 ramp

primary
#528C2A
secondary
#915CB5
accent
#4BDDA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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