#528522#528522

#528522 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.140 H 133.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#528522
RGBrgb(82, 133, 34)
HSLhsl(91, 59%, 33%)
HSVhsv(91, 74%, 52%)
CMYKcmyk(38.3%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.32, -33.93, 45.30)
CIE-LCHlch(50.32, 56.59, 126.83°)
OKLaboklab(56.03% -0.0954 0.1019)
OKLCHoklch(56.03% 0.14 133.1)
XYZxyz(12.1558, 18.6838, 4.4789)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528522 #552285
analogous
#838522 #528522 #228524
triadic
#528522 #225285 #852252
tetradic
#528522 #228385 #552285 #852422
square
#528522 #228385 #552285 #852422
split-complementary
#528522 #242285 #852283
monochromatic
#162409 #345416 #528522 #70B62E #8FD24F

Accessibility & contrast

On white

4.43
#528522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#528522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528522
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528522#FFFFFF#000000##000000
##5285221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A10
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#528072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #528522;
/* rgb */ color: rgb(82, 133, 34);
/* oklch */ color: oklch(56.0% 0.140 133.1);
Tailwind
colors: {
  custom: {
    50: '#87a964',
    500: '#528522',
    950: '#000000',
  },
}
SCSS
$custom: #528522;
$custom-light: #87a964;
$custom-dark: #000000;
JSON
{
  "hex": "#528522",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 90.909,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56028,
    "c": 0.13954,
    "h": 133.1
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#528522
secondary
#834DB6
accent
#45E296
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528522

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

Preview Lab → · Contrast checker → · Palette generator →

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