#528822#528822

#528822 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.8% C 0.144 H 133.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#528822
RGBrgb(82, 136, 34)
HSLhsl(92, 60%, 33%)
HSVhsv(92, 75%, 53%)
CMYKcmyk(39.7%, 0%, 75%, 46.7%)
CIE-LABlab(51.29, -35.27, 46.27)
CIE-LCHlch(51.29, 58.18, 127.32°)
OKLaboklab(56.82% -0.099 0.1039)
OKLCHoklch(56.82% 0.144 133.6)
XYZxyz(12.5724, 19.5170, 4.6178)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528822 #582288
analogous
#858822 #528822 #228825
triadic
#528822 #225288 #882252
tetradic
#528822 #228588 #582288 #882522
square
#528822 #228588 #582288 #882522
split-complementary
#528822 #252288 #882285
monochromatic
#17260A #345716 #528822 #70B92E #8ED351

Accessibility & contrast

On white

4.28
#528822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#528822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528822
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528822#FFFFFF#000000##000000
##5288221.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#528274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #528822;
/* rgb */ color: rgb(82, 136, 34);
/* oklch */ color: oklch(56.8% 0.144 133.6);
Tailwind
colors: {
  custom: {
    50: '#87ab64',
    500: '#528822',
    950: '#000000',
  },
}
SCSS
$custom: #528822;
$custom-light: #87ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#528822",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 91.765,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.14351,
    "h": 133.6
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#528822
secondary
#864FB7
accent
#45E399
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528822

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

Preview Lab → · Contrast checker → · Palette generator →

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