#528722#528722

#528722 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.6% C 0.142 H 133.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#528722
RGBrgb(82, 135, 34)
HSLhsl(91, 60%, 33%)
HSVhsv(91, 75%, 53%)
CMYKcmyk(39.3%, 0%, 74.8%, 47.1%)
CIE-LABlab(50.96, -34.82, 45.94)
CIE-LCHlch(50.96, 57.65, 127.16°)
OKLaboklab(56.56% -0.0978 0.1032)
OKLCHoklch(56.56% 0.142 133.5)
XYZxyz(12.4322, 19.2367, 4.5711)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528722 #572287
analogous
#848722 #528722 #228724
triadic
#528722 #225287 #872252
tetradic
#528722 #228487 #572287 #872422
square
#528722 #228487 #572287 #872422
split-complementary
#528722 #242287 #872284
monochromatic
#172509 #345616 #528722 #70B82E #8ED350

Accessibility & contrast

On white

4.33
#528722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#528722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528722
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528722#FFFFFF#000000##000000
##5287221.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#528173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #528722;
/* rgb */ color: rgb(82, 135, 34);
/* oklch */ color: oklch(56.6% 0.142 133.5);
Tailwind
colors: {
  custom: {
    50: '#87aa64',
    500: '#528722',
    950: '#000000',
  },
}
SCSS
$custom: #528722;
$custom-light: #87aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#528722",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 91.485,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.14219,
    "h": 133.5
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#528722
secondary
#854EB7
accent
#45E398
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528722

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

Preview Lab → · Contrast checker → · Palette generator →

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