#528132#528132

#528132 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.121 H 134.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#528132
RGBrgb(82, 129, 50)
HSLhsl(96, 44%, 35%)
HSVhsv(96, 61%, 51%)
CMYKcmyk(36.4%, 0%, 61.2%, 49.4%)
CIE-LABlab(49.16, -30.69, 37.05)
CIE-LCHlch(49.16, 48.11, 129.64°)
OKLaboklab(55.13% -0.0852 0.0866)
OKLCHoklch(55.13% 0.121 134.6)
XYZxyz(11.9054, 17.7241, 5.8108)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528132 #613281
analogous
#7A8132 #528132 #328139
triadic
#528132 #325281 #813252
tetradic
#528132 #327A81 #613281 #813932
square
#528132 #327A81 #613281 #813932
split-complementary
#528132 #393281 #81327A
monochromatic
#1A2910 #365521 #528132 #6EAD43 #8EC569

Accessibility & contrast

On white

4.62
#528132 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#528132 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528132
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528132#FFFFFF#000000##FFFFFF
##5281321.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86772A
Deuteranopia (green-blind)
#7F7338
Tritanopia (blue-blind)
#527C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528132;
/* rgb */ color: rgb(82, 129, 50);
/* oklch */ color: oklch(55.1% 0.121 134.6);
Tailwind
colors: {
  custom: {
    50: '#86a66d',
    500: '#528132',
    950: '#000000',
  },
}
SCSS
$custom: #528132;
$custom-light: #86a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#528132",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 50
  },
  "hsl": {
    "h": 95.696,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.12148,
    "h": 134.6
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#528132
secondary
#8E62AC
accent
#54D4A0
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #528132

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

Preview Lab → · Contrast checker → · Palette generator →

#528132 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva