#528D2D#528D2D

#528D2D is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.143 H 135.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#528D2D
RGBrgb(82, 141, 45)
HSLhsl(97, 52%, 36%)
HSVhsv(97, 68%, 55%)
CMYKcmyk(41.8%, 0%, 68.1%, 44.7%)
CIE-LABlab(52.98, -36.61, 43.55)
CIE-LCHlch(52.98, 56.90, 130.05°)
OKLaboklab(58.24% -0.1018 0.0998)
OKLCHoklch(58.24% 0.143 135.6)
XYZxyz(13.4779, 21.0323, 5.8316)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D2D #682D8D
analogous
#828D2D #528D2D #2D8D38
triadic
#528D2D #2D528D #8D2D52
tetradic
#528D2D #2D828D #682D8D #8D382D
square
#528D2D #2D828D #682D8D #8D382D
split-complementary
#528D2D #382D8D #8D2D82
monochromatic
#1C300F #375F1E #528D2D #6DBB3C #8ECE66

Accessibility & contrast

On white

4.03
#528D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#528D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D2D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D2D#FFFFFF#000000##000000
##528D2D1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#508879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d2d;
/* rgb */ color: rgb(82, 141, 45);
/* oklch */ color: oklch(58.2% 0.143 135.6);
Tailwind
colors: {
  custom: {
    50: '#87af6b',
    500: '#528d2d',
    950: '#000000',
  },
}
SCSS
$custom: #528d2d;
$custom-light: #87af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#528d2d",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 96.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.14254,
    "h": 135.6
  },
  "luminance": 0.21033
}

Semantic roles & 50–950 ramp

primary
#528D2D
secondary
#9561B5
accent
#4DDBA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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