#528121#528121

#528121 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.135 H 132.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#528121
RGBrgb(82, 129, 33)
HSLhsl(89, 59%, 32%)
HSVhsv(89, 74%, 51%)
CMYKcmyk(36.4%, 0%, 74.4%, 49.4%)
CIE-LABlab(49.01, -32.18, 44.38)
CIE-LCHlch(49.01, 54.82, 125.95°)
OKLaboklab(54.96% -0.0907 0.0998)
OKLCHoklch(54.96% 0.135 132.3)
XYZxyz(11.6043, 17.6037, 4.2250)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528121 #502181
analogous
#818021 #528121 #228121
triadic
#528121 #215281 #812152
tetradic
#528121 #218180 #502181 #812122
square
#528121 #218180 #502181 #812122
split-complementary
#528121 #212281 #802181
monochromatic
#142008 #335015 #528121 #71B22D #90D14B

Accessibility & contrast

On white

4.65
#528121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#528121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528121
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528121#FFFFFF#000000##FFFFFF
##5281211.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877710
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#537C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #528121;
/* rgb */ color: rgb(82, 129, 33);
/* oklch */ color: oklch(55.0% 0.135 132.3);
Tailwind
colors: {
  custom: {
    50: '#87a663',
    500: '#528121',
    950: '#000000',
  },
}
SCSS
$custom: #528121;
$custom-light: #87a663;
$custom-dark: #000000;
JSON
{
  "hex": "#528121",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 89.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54961,
    "c": 0.13484,
    "h": 132.3
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

primary
#528121
secondary
#7E4AB4
accent
#45E292
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528121

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

Preview Lab → · Contrast checker → · Palette generator →

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