#528D22#528D22

#528D22 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.150 H 134.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#528D22
RGBrgb(82, 141, 34)
HSLhsl(93, 61%, 34%)
HSVhsv(93, 76%, 55%)
CMYKcmyk(41.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(52.90, -37.46, 47.86)
CIE-LCHlch(52.90, 60.78, 128.05°)
OKLaboklab(58.15% -0.1049 0.1072)
OKLCHoklch(58.15% 0.15 134.4)
XYZxyz(13.2930, 20.9584, 4.8580)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D22 #5D228D
analogous
#888D22 #528D22 #228D28
triadic
#528D22 #22528D #8D2252
tetradic
#528D22 #22888D #5D228D #8D2822
square
#528D22 #22888D #5D228D #8D2822
split-complementary
#528D22 #28228D #8D2288
monochromatic
#192A0A #355C16 #528D22 #6FBE2E #8ED654

Accessibility & contrast

On white

4.04
#528D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#528D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D22
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D22#FFFFFF#000000##000000
##528D221.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810C
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d22;
/* rgb */ color: rgb(82, 141, 34);
/* oklch */ color: oklch(58.1% 0.150 134.4);
Tailwind
colors: {
  custom: {
    50: '#88af65',
    500: '#528d22',
    950: '#000000',
  },
}
SCSS
$custom: #528d22;
$custom-light: #88af65;
$custom-dark: #000000;
JSON
{
  "hex": "#528d22",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 93.084,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58146,
    "c": 0.15003,
    "h": 134.4
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#528D22
secondary
#8B51B9
accent
#44E49C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D22

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

Preview Lab → · Contrast checker → · Palette generator →

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