#528B2D#528B2D

#528B2D is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.140 H 135.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#528B2D
RGBrgb(82, 139, 45)
HSLhsl(96, 51%, 36%)
HSVhsv(96, 68%, 55%)
CMYKcmyk(41%, 0%, 67.6%, 45.5%)
CIE-LABlab(52.34, -35.73, 42.86)
CIE-LCHlch(52.34, 55.80, 129.82°)
OKLaboklab(57.71% -0.0994 0.0983)
OKLCHoklch(57.71% 0.14 135.3)
XYZxyz(13.1856, 20.4479, 5.7342)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B2D #662D8B
analogous
#818B2D #528B2D #2D8B37
triadic
#528B2D #2D528B #8B2D52
tetradic
#528B2D #2D818B #662D8B #8B372D
square
#528B2D #2D818B #662D8B #8B372D
split-complementary
#528B2D #372D8B #8B2D81
monochromatic
#1B2F0F #375D1E #528B2D #6DB93C #8ECD65

Accessibility & contrast

On white

4.13
#528B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#528B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B2D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B2D#FFFFFF#000000##000000
##528B2D1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908021
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#518678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b2d;
/* rgb */ color: rgb(82, 139, 45);
/* oklch */ color: oklch(57.7% 0.140 135.3);
Tailwind
colors: {
  custom: {
    50: '#87ad6b',
    500: '#528b2d',
    950: '#000000',
  },
}
SCSS
$custom: #528b2d;
$custom-light: #87ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#528b2d",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 96.383,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.13981,
    "h": 135.3
  },
  "luminance": 0.20449
}

Semantic roles & 50–950 ramp

primary
#528B2D
secondary
#9360B4
accent
#4DDBA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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