#528D2B#528D2B

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

Color values

HEX#528D2B
RGBrgb(82, 141, 43)
HSLhsl(96, 53%, 36%)
HSVhsv(96, 70%, 55%)
CMYKcmyk(41.8%, 0%, 69.5%, 44.7%)
CIE-LABlab(52.97, -36.79, 44.39)
CIE-LCHlch(52.97, 57.65, 129.65°)
OKLaboklab(58.22% -0.1024 0.1013)
OKLCHoklch(58.22% 0.144 135.3)
XYZxyz(13.4403, 21.0173, 5.6336)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D2B #662B8D
analogous
#838D2B #528D2B #2B8D35
triadic
#528D2B #2B528D #8D2B52
tetradic
#528D2B #2B838D #662B8D #8D352B
square
#528D2B #2B838D #662B8D #8D352B
split-complementary
#528D2B #352B8D #8D2B83
monochromatic
#1B2F0E #375E1D #528D2B #6DBC39 #8ECF63

Accessibility & contrast

On white

4.04
#528D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##528D2B#FFFFFF#000000##000000
##528D2B1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #528d2b;
/* rgb */ color: rgb(82, 141, 43);
/* oklch */ color: oklch(58.2% 0.144 135.3);
Tailwind
colors: {
  custom: {
    50: '#87af6a',
    500: '#528d2b',
    950: '#000000',
  },
}
SCSS
$custom: #528d2b;
$custom-light: #87af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#528d2b",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 96.122,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.14403,
    "h": 135.3
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#528D2B
secondary
#935EB6
accent
#4BDDA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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