#528221#528221

#528221 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.136 H 132.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#528221
RGBrgb(82, 130, 33)
HSLhsl(90, 60%, 32%)
HSVhsv(90, 75%, 51%)
CMYKcmyk(36.9%, 0%, 74.6%, 49%)
CIE-LABlab(49.34, -32.64, 44.70)
CIE-LCHlch(49.34, 55.35, 126.13°)
OKLaboklab(55.23% -0.0919 0.1005)
OKLCHoklch(55.23% 0.136 132.5)
XYZxyz(11.7367, 17.8684, 4.2691)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528221 #512182
analogous
#828221 #528221 #218221
triadic
#528221 #215282 #822152
tetradic
#528221 #218282 #512182 #822121
square
#528221 #218282 #512182 #822121
split-complementary
#528221 #212182 #822182
monochromatic
#142008 #335115 #528221 #71B32D #8FD24C

Accessibility & contrast

On white

4.59
#528221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#528221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528221
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528221#FFFFFF#000000##FFFFFF
##5282211.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#537D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528221;
/* rgb */ color: rgb(82, 130, 33);
/* oklch */ color: oklch(55.2% 0.136 132.5);
Tailwind
colors: {
  custom: {
    50: '#87a663',
    500: '#528221',
    950: '#000000',
  },
}
SCSS
$custom: #528221;
$custom-light: #87a663;
$custom-dark: #000000;
JSON
{
  "hex": "#528221",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 89.691,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.13618,
    "h": 132.5
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#528221
secondary
#7F4AB4
accent
#45E393
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528221

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

Preview Lab → · Contrast checker → · Palette generator →

#528221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva