#528C22#528C22

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

Color values

HEX#528C22
RGBrgb(82, 140, 34)
HSLhsl(93, 61%, 34%)
HSVhsv(93, 76%, 55%)
CMYKcmyk(41.4%, 0%, 75.7%, 45.1%)
CIE-LABlab(52.58, -37.03, 47.55)
CIE-LCHlch(52.58, 60.26, 127.91°)
OKLaboklab(57.88% -0.1038 0.1066)
OKLCHoklch(57.88% 0.149 134.2)
XYZxyz(13.1462, 20.6648, 4.8091)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C22 #5C228C
analogous
#878C22 #528C22 #228C27
triadic
#528C22 #22528C #8C2252
tetradic
#528C22 #22878C #5C228C #8C2722
square
#528C22 #22878C #5C228C #8C2722
split-complementary
#528C22 #27228C #8C2287
monochromatic
#182A0A #355B16 #528C22 #6FBD2E #8ED553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528C22#FFFFFF#000000##000000
##528C221.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)
#92800D
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#518678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528c22;
/* rgb */ color: rgb(82, 140, 34);
/* oklch */ color: oklch(57.9% 0.149 134.2);
Tailwind
colors: {
  custom: {
    50: '#88ae65',
    500: '#528c22',
    950: '#000000',
  },
}
SCSS
$custom: #528c22;
$custom-light: #88ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#528c22",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 92.83,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57881,
    "c": 0.14873,
    "h": 134.2
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#528C22
secondary
#8A51B9
accent
#44E49B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528C22

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

Preview Lab → · Contrast checker → · Palette generator →

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