#528C21#528C21

#528C21 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.149 H 134.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#528C21
RGBrgb(82, 140, 33)
HSLhsl(93, 62%, 34%)
HSVhsv(93, 76%, 55%)
CMYKcmyk(41.4%, 0%, 76.4%, 45.1%)
CIE-LABlab(52.57, -37.09, 47.90)
CIE-LCHlch(52.57, 60.59, 127.75°)
OKLaboklab(57.87% -0.104 0.1072)
OKLCHoklch(57.87% 0.149 134.1)
XYZxyz(13.1320, 20.6591, 4.7342)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C21 #5B218C
analogous
#888C21 #528C21 #218C25
triadic
#528C21 #21528C #8C2152
tetradic
#528C21 #21888C #5B218C #8C2521
square
#528C21 #21888C #5B218C #8C2521
split-complementary
#528C21 #25218C #8C2188
monochromatic
#18290A #355A15 #528C21 #6FBE2D #8ED651

Accessibility & contrast

On white

4.09
#528C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#528C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C21
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C21#FFFFFF#000000##000000
##528C211.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800A
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#518678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528c21;
/* rgb */ color: rgb(82, 140, 33);
/* oklch */ color: oklch(57.9% 0.149 134.1);
Tailwind
colors: {
  custom: {
    50: '#88ae64',
    500: '#528c21',
    950: '#000000',
  },
}
SCSS
$custom: #528c21;
$custom-light: #88ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#528c21",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 92.523,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.14934,
    "h": 134.1
  },
  "luminance": 0.2066
}

Semantic roles & 50–950 ramp

primary
#528C21
secondary
#894FB9
accent
#43E59B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528C21

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

Preview Lab → · Contrast checker → · Palette generator →

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