#528D1D#528D1D

#528D1D is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.153 H 134.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#528D1D
RGBrgb(82, 141, 29)
HSLhsl(92, 66%, 33%)
HSVhsv(92, 79%, 55%)
CMYKcmyk(41.8%, 0%, 79.4%, 44.7%)
CIE-LABlab(52.87, -37.77, 49.57)
CIE-LCHlch(52.87, 62.32, 127.31°)
OKLaboklab(58.11% -0.1061 0.11)
OKLCHoklch(58.11% 0.153 134)
XYZxyz(13.2261, 20.9316, 4.5055)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D1D #581D8D
analogous
#8A8D1D #528D1D #1D8D20
triadic
#528D1D #1D528D #8D1D52
tetradic
#528D1D #1D8A8D #581D8D #8D201D
square
#528D1D #1D8A8D #581D8D #8D201D
split-complementary
#528D1D #201D8D #8D1D8A
monochromatic
#172708 #345A13 #528D1D #70C027 #8EDA4B

Accessibility & contrast

On white

4.05
#528D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#528D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D1D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D1D#FFFFFF#000000##000000
##528D1D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d1d;
/* rgb */ color: rgb(82, 141, 29);
/* oklch */ color: oklch(58.1% 0.153 134.0);
Tailwind
colors: {
  custom: {
    50: '#88af63',
    500: '#528d1d',
    950: '#000000',
  },
}
SCSS
$custom: #528d1d;
$custom-light: #88af63;
$custom-dark: #000000;
JSON
{
  "hex": "#528d1d",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 91.607,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58112,
    "c": 0.15287,
    "h": 134
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#528D1D
secondary
#864ABC
accent
#3FE998
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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