#528D2C#528D2C

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

Color values

HEX#528D2C
RGBrgb(82, 141, 44)
HSLhsl(96, 52%, 36%)
HSVhsv(96, 69%, 55%)
CMYKcmyk(41.8%, 0%, 68.8%, 44.7%)
CIE-LABlab(52.98, -36.70, 43.97)
CIE-LCHlch(52.98, 57.27, 129.85°)
OKLaboklab(58.23% -0.1021 0.1005)
OKLCHoklch(58.23% 0.143 135.4)
XYZxyz(13.4589, 21.0247, 5.7314)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D2C #672C8D
analogous
#838D2C #528D2C #2C8D37
triadic
#528D2C #2C528D #8D2C52
tetradic
#528D2C #2C838D #672C8D #8D372C
square
#528D2C #2C838D #672C8D #8D372C
split-complementary
#528D2C #372C8D #8D2C83
monochromatic
#1C300F #375E1D #528D2C #6DBC3B #8ECF65

Accessibility & contrast

On white

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

On black

5.20
#528D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D2C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D2C#FFFFFF#000000##000000
##528D2C1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821F
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#508879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d2c;
/* rgb */ color: rgb(82, 141, 44);
/* oklch */ color: oklch(58.2% 0.143 135.4);
Tailwind
colors: {
  custom: {
    50: '#87af6a',
    500: '#528d2c',
    950: '#000000',
  },
}
SCSS
$custom: #528d2c;
$custom-light: #87af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#528d2c",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 96.495,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.14329,
    "h": 135.4
  },
  "luminance": 0.21025
}

Semantic roles & 50–950 ramp

primary
#528D2C
secondary
#9460B5
accent
#4CDCA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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