#528C2D#528C2D

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

Color values

HEX#528C2D
RGBrgb(82, 140, 45)
HSLhsl(97, 51%, 36%)
HSVhsv(97, 68%, 55%)
CMYKcmyk(41.4%, 0%, 67.9%, 45.1%)
CIE-LABlab(52.66, -36.17, 43.21)
CIE-LCHlch(52.66, 56.35, 129.94°)
OKLaboklab(57.97% -0.1006 0.099)
OKLCHoklch(57.97% 0.141 135.4)
XYZxyz(13.3311, 20.7388, 5.7827)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C2D #672D8C
analogous
#828C2D #528C2D #2D8C38
triadic
#528C2D #2D528C #8C2D52
tetradic
#528C2D #2D828C #672D8C #8C382D
square
#528C2D #2D828C #672D8C #8C382D
split-complementary
#528C2D #382D8C #8C2D82
monochromatic
#1C2F0F #375E1E #528C2D #6DBA3C #8ECE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528C2D#FFFFFF#000000##000000
##528C2D1.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)
#918120
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#508779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c2d;
/* rgb */ color: rgb(82, 140, 45);
/* oklch */ color: oklch(58.0% 0.141 135.4);
Tailwind
colors: {
  custom: {
    50: '#87ae6b',
    500: '#528c2d',
    950: '#000000',
  },
}
SCSS
$custom: #528c2d;
$custom-light: #87ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#528c2d",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 96.632,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.14117,
    "h": 135.4
  },
  "luminance": 0.20739
}

Semantic roles & 50–950 ramp

primary
#528C2D
secondary
#9460B4
accent
#4DDBA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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