#528B21#528B21

#528B21 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.148 H 134.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#528B21
RGBrgb(82, 139, 33)
HSLhsl(92, 62%, 34%)
HSVhsv(92, 76%, 55%)
CMYKcmyk(41%, 0%, 76.3%, 45.5%)
CIE-LABlab(52.25, -36.66, 47.59)
CIE-LCHlch(52.25, 60.07, 127.61°)
OKLaboklab(57.61% -0.1028 0.1065)
OKLCHoklch(57.61% 0.148 134)
XYZxyz(12.9866, 20.3682, 4.6857)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B21 #5A218B
analogous
#878B21 #528B21 #218B25
triadic
#528B21 #21528B #8B2152
tetradic
#528B21 #21878B #5A218B #8B2521
square
#528B21 #21878B #5A218B #8B2521
split-complementary
#528B21 #25218B #8B2187
monochromatic
#18280A #355A15 #528B21 #6FBC2D #8ED651

Accessibility & contrast

On white

4.14
#528B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#528B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B21
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B21#FFFFFF#000000##000000
##528B211.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800B
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#528577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b21;
/* rgb */ color: rgb(82, 139, 33);
/* oklch */ color: oklch(57.6% 0.148 134.0);
Tailwind
colors: {
  custom: {
    50: '#88ad64',
    500: '#528b21',
    950: '#000000',
  },
}
SCSS
$custom: #528b21;
$custom-light: #88ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#528b21",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 92.264,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.14804,
    "h": 134
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#528B21
secondary
#884FB9
accent
#43E59A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528B21

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

Preview Lab → · Contrast checker → · Palette generator →

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