#528D28#528D28

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

Color values

HEX#528D28
RGBrgb(82, 141, 40)
HSLhsl(95, 56%, 35%)
HSVhsv(95, 72%, 55%)
CMYKcmyk(41.8%, 0%, 71.6%, 44.7%)
CIE-LABlab(52.95, -37.03, 45.60)
CIE-LCHlch(52.95, 58.74, 129.08°)
OKLaboklab(58.19% -0.1033 0.1034)
OKLCHoklch(58.19% 0.146 135)
XYZxyz(13.3873, 20.9961, 5.3543)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D28 #63288D
analogous
#848D28 #528D28 #288D31
triadic
#528D28 #28528D #8D2852
tetradic
#528D28 #28848D #63288D #8D3128
square
#528D28 #28848D #63288D #8D3128
split-complementary
#528D28 #31288D #8D2884
monochromatic
#1B2E0D #365D1A #528D28 #6EBD36 #8ED15E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528D28#FFFFFF#000000##000000
##528D281.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)
#928118
Deuteranopia (green-blind)
#8A7D31
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d28;
/* rgb */ color: rgb(82, 141, 40);
/* oklch */ color: oklch(58.2% 0.146 135.0);
Tailwind
colors: {
  custom: {
    50: '#88af68',
    500: '#528d28',
    950: '#000000',
  },
}
SCSS
$custom: #528d28;
$custom-light: #88af68;
$custom-dark: #000000;
JSON
{
  "hex": "#528d28",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 95.05,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.14615,
    "h": 135
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#528D28
secondary
#905AB7
accent
#49DFA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D28

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

Preview Lab → · Contrast checker → · Palette generator →

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