#528F21#528F21

#528F21 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.153 H 134.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#528F21
RGBrgb(82, 143, 33)
HSLhsl(93, 63%, 35%)
HSVhsv(93, 77%, 56%)
CMYKcmyk(42.7%, 0%, 76.9%, 43.9%)
CIE-LABlab(53.54, -38.39, 48.85)
CIE-LCHlch(53.54, 62.13, 128.16°)
OKLaboklab(58.67% -0.1075 0.1091)
OKLCHoklch(58.67% 0.153 134.6)
XYZxyz(13.5764, 21.5478, 4.8823)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F21 #5E218F
analogous
#898F21 #528F21 #218F27
triadic
#528F21 #21528F #8F2152
tetradic
#528F21 #21898F #5E218F #8F2721
square
#528F21 #21898F #5E218F #8F2721
split-complementary
#528F21 #27218F #8F2189
monochromatic
#192C0A #355D16 #528F21 #6FC12C #8ED753

Accessibility & contrast

On white

3.95
#528F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#528F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F21
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F21#FFFFFF#000000##000000
##528F211.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958308
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#51897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f21;
/* rgb */ color: rgb(82, 143, 33);
/* oklch */ color: oklch(58.7% 0.153 134.6);
Tailwind
colors: {
  custom: {
    50: '#88b065',
    500: '#528f21',
    950: '#000000',
  },
}
SCSS
$custom: #528f21;
$custom-light: #88b065;
$custom-dark: #000000;
JSON
{
  "hex": "#528f21",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 93.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.1532,
    "h": 134.6
  },
  "luminance": 0.21549
}

Semantic roles & 50–950 ramp

primary
#528F21
secondary
#8C51BB
accent
#42E69D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528F21

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

Preview Lab → · Contrast checker → · Palette generator →

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