#528E22#528E22

#528E22 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.151 H 134.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#528E22
RGBrgb(82, 142, 34)
HSLhsl(93, 61%, 35%)
HSVhsv(93, 76%, 56%)
CMYKcmyk(42.3%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.23, -37.90, 48.18)
CIE-LCHlch(53.23, 61.30, 128.19°)
OKLaboklab(58.41% -0.1061 0.1079)
OKLCHoklch(58.41% 0.151 134.5)
XYZxyz(13.4411, 21.2546, 4.9074)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E22 #5E228E
analogous
#888E22 #528E22 #228E28
triadic
#528E22 #22528E #8E2252
tetradic
#528E22 #22888E #5E228E #8E2822
square
#528E22 #22888E #5E228E #8E2822
split-complementary
#528E22 #28228E #8E2288
monochromatic
#192B0A #355D16 #528E22 #6FBF2E #8ED654

Accessibility & contrast

On white

4.00
#528E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#528E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E22
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E22#FFFFFF#000000##000000
##528E221.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820B
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e22;
/* rgb */ color: rgb(82, 142, 34);
/* oklch */ color: oklch(58.4% 0.151 134.5);
Tailwind
colors: {
  custom: {
    50: '#88af65',
    500: '#528e22',
    950: '#000000',
  },
}
SCSS
$custom: #528e22;
$custom-light: #88af65;
$custom-dark: #000000;
JSON
{
  "hex": "#528e22",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 93.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.15132,
    "h": 134.5
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

primary
#528E22
secondary
#8C52BA
accent
#43E49D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528E22

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

Preview Lab → · Contrast checker → · Palette generator →

#528E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva