#528022#528022

#528022 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.133 H 132.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#528022
RGBrgb(82, 128, 34)
HSLhsl(89, 58%, 32%)
HSVhsv(89, 73%, 50%)
CMYKcmyk(35.9%, 0%, 73.4%, 49.8%)
CIE-LABlab(48.69, -31.65, 43.67)
CIE-LCHlch(48.69, 53.93, 125.93°)
OKLaboklab(54.71% -0.0892 0.0985)
OKLCHoklch(54.71% 0.133 132.2)
XYZxyz(11.4874, 17.3472, 4.2562)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528022 #502280
analogous
#807F22 #528022 #238022
triadic
#528022 #225280 #802252
tetradic
#528022 #22807F #502280 #802223
square
#528022 #22807F #502280 #802223
split-complementary
#528022 #222380 #7F2280
monochromatic
#141F08 #335015 #528022 #71B02F #90D04D

Accessibility & contrast

On white

4.70
#528022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#528022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #528022
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528022#FFFFFF#000000##FFFFFF
##5280221.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#537B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #528022;
/* rgb */ color: rgb(82, 128, 34);
/* oklch */ color: oklch(54.7% 0.133 132.2);
Tailwind
colors: {
  custom: {
    50: '#87a563',
    500: '#528022',
    950: '#000000',
  },
}
SCSS
$custom: #528022;
$custom-light: #87a563;
$custom-dark: #000000;
JSON
{
  "hex": "#528022",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 89.362,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.13283,
    "h": 132.2
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#528022
secondary
#7E4BB2
accent
#47E192
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528022

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

Preview Lab → · Contrast checker → · Palette generator →

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