#528E21#528E21

#528E21 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.152 H 134.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#528E21
RGBrgb(82, 142, 33)
HSLhsl(93, 62%, 34%)
HSVhsv(93, 77%, 56%)
CMYKcmyk(42.3%, 0%, 76.8%, 44.3%)
CIE-LABlab(53.22, -37.96, 48.54)
CIE-LCHlch(53.22, 61.62, 128.03°)
OKLaboklab(58.4% -0.1063 0.1085)
OKLCHoklch(58.4% 0.152 134.4)
XYZxyz(13.4269, 21.2489, 4.8325)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E21 #5D218E
analogous
#898E21 #528E21 #218E27
triadic
#528E21 #21528E #8E2152
tetradic
#528E21 #21898E #5D218E #8E2721
square
#528E21 #21898E #5D218E #8E2721
split-complementary
#528E21 #27218E #8E2189
monochromatic
#192B0A #355C15 #528E21 #6FC02D #8ED752

Accessibility & contrast

On white

4.00
#528E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#528E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E21
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E21#FFFFFF#000000##000000
##528E211.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948209
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e21;
/* rgb */ color: rgb(82, 142, 33);
/* oklch */ color: oklch(58.4% 0.152 134.4);
Tailwind
colors: {
  custom: {
    50: '#88af65',
    500: '#528e21',
    950: '#000000',
  },
}
SCSS
$custom: #528e21;
$custom-light: #88af65;
$custom-dark: #000000;
JSON
{
  "hex": "#528e21",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 93.028,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.15192,
    "h": 134.4
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#528E21
secondary
#8B50BA
accent
#42E59C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528E21

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

Preview Lab → · Contrast checker → · Palette generator →

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