#528C28#528C28

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

Color values

HEX#528C28
RGBrgb(82, 140, 40)
HSLhsl(95, 56%, 35%)
HSVhsv(95, 71%, 55%)
CMYKcmyk(41.4%, 0%, 71.4%, 45.1%)
CIE-LABlab(52.62, -36.59, 45.27)
CIE-LCHlch(52.62, 58.21, 128.95°)
OKLaboklab(57.93% -0.1021 0.1027)
OKLCHoklch(57.93% 0.145 134.8)
XYZxyz(13.2405, 20.7025, 5.3054)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C28 #62288C
analogous
#848C28 #528C28 #288C30
triadic
#528C28 #28528C #8C2852
tetradic
#528C28 #28848C #62288C #8C3028
square
#528C28 #28848C #62288C #8C3028
split-complementary
#528C28 #30288C #8C2884
monochromatic
#1A2D0D #365C1A #528C28 #6EBC36 #8ED15E

Accessibility & contrast

On white

4.09
#528C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##528C28#FFFFFF#000000##000000
##528C281.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918118
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c28;
/* rgb */ color: rgb(82, 140, 40);
/* oklch */ color: oklch(57.9% 0.145 134.8);
Tailwind
colors: {
  custom: {
    50: '#87ae68',
    500: '#528c28',
    950: '#000000',
  },
}
SCSS
$custom: #528c28;
$custom-light: #87ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#528c28",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 94.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.14482,
    "h": 134.8
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#528C28
secondary
#8F5AB6
accent
#49DFA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528C28

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

Preview Lab → · Contrast checker → · Palette generator →

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