#528222#528222

#528222 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.136 H 132.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#528222
RGBrgb(82, 130, 34)
HSLhsl(90, 59%, 32%)
HSVhsv(90, 74%, 51%)
CMYKcmyk(36.9%, 0%, 73.8%, 49%)
CIE-LABlab(49.34, -32.57, 44.32)
CIE-LCHlch(49.34, 55.00, 126.31°)
OKLaboklab(55.23% -0.0917 0.0998)
OKLCHoklch(55.23% 0.136 132.6)
XYZxyz(11.7509, 17.8741, 4.3440)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528222 #522282
analogous
#828222 #528222 #228222
triadic
#528222 #225282 #822252
tetradic
#528222 #228282 #522282 #822222
square
#528222 #228282 #522282 #822222
split-complementary
#528222 #222282 #822282
monochromatic
#152109 #335115 #528222 #71B32F #8FD14E

Accessibility & contrast

On white

4.59
#528222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#528222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528222
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528222#FFFFFF#000000##FFFFFF
##5282221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#537D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528222;
/* rgb */ color: rgb(82, 130, 34);
/* oklch */ color: oklch(55.2% 0.136 132.6);
Tailwind
colors: {
  custom: {
    50: '#87a664',
    500: '#528222',
    950: '#000000',
  },
}
SCSS
$custom: #528222;
$custom-light: #87a664;
$custom-dark: #000000;
JSON
{
  "hex": "#528222",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55234,
    "c": 0.13553,
    "h": 132.6
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#528222
secondary
#804CB4
accent
#46E294
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528222

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

Preview Lab → · Contrast checker → · Palette generator →

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