#528C2C#528C2C

#528C2C is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.142 H 135.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#528C2C
RGBrgb(82, 140, 44)
HSLhsl(96, 52%, 36%)
HSVhsv(96, 69%, 55%)
CMYKcmyk(41.4%, 0%, 68.6%, 45.1%)
CIE-LABlab(52.65, -36.26, 43.63)
CIE-LCHlch(52.65, 56.73, 129.73°)
OKLaboklab(57.96% -0.1009 0.0998)
OKLCHoklch(57.96% 0.142 135.3)
XYZxyz(13.3121, 20.7312, 5.6825)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C2C #662C8C
analogous
#828C2C #528C2C #2C8C36
triadic
#528C2C #2C528C #8C2C52
tetradic
#528C2C #2C828C #662C8C #8C362C
square
#528C2C #2C828C #662C8C #8C362C
split-complementary
#528C2C #362C8C #8C2C82
monochromatic
#1B2F0F #375D1D #528C2C #6DBB3B #8ECE64

Accessibility & contrast

On white

4.08
#528C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#528C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C2C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C2C#FFFFFF#000000##000000
##528C2C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c2c;
/* rgb */ color: rgb(82, 140, 44);
/* oklch */ color: oklch(58.0% 0.142 135.3);
Tailwind
colors: {
  custom: {
    50: '#87ae6a',
    500: '#528c2c',
    950: '#000000',
  },
}
SCSS
$custom: #528c2c;
$custom-light: #87ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#528c2c",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 96.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.14193,
    "h": 135.3
  },
  "luminance": 0.20732
}

Semantic roles & 50–950 ramp

primary
#528C2C
secondary
#935FB5
accent
#4CDCA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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