#528B22#528B22

#528B22 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.147 H 134.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#528B22
RGBrgb(82, 139, 34)
HSLhsl(93, 61%, 34%)
HSVhsv(93, 76%, 55%)
CMYKcmyk(41%, 0%, 75.5%, 45.5%)
CIE-LABlab(52.26, -36.59, 47.23)
CIE-LCHlch(52.26, 59.74, 127.77°)
OKLaboklab(57.62% -0.1026 0.1059)
OKLCHoklch(57.62% 0.147 134.1)
XYZxyz(13.0008, 20.3739, 4.7606)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B22 #5B228B
analogous
#878B22 #528B22 #228B26
triadic
#528B22 #22528B #8B2252
tetradic
#528B22 #22878B #5B228B #8B2622
square
#528B22 #22878B #5B228B #8B2622
split-complementary
#528B22 #26228B #8B2287
monochromatic
#18290A #355A16 #528B22 #6FBC2E #8ED553

Accessibility & contrast

On white

4.14
#528B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#528B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B22
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B22#FFFFFF#000000##000000
##528B221.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#518577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b22;
/* rgb */ color: rgb(82, 139, 34);
/* oklch */ color: oklch(57.6% 0.147 134.1);
Tailwind
colors: {
  custom: {
    50: '#88ad65',
    500: '#528b22',
    950: '#000000',
  },
}
SCSS
$custom: #528b22;
$custom-light: #88ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#528b22",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 92.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.14744,
    "h": 134.1
  },
  "luminance": 0.20375
}

Semantic roles & 50–950 ramp

primary
#528B22
secondary
#8950B8
accent
#44E49B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528B22

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

Preview Lab → · Contrast checker → · Palette generator →

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