#528D1A#528D1A

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

Color values

HEX#528D1A
RGBrgb(82, 141, 26)
HSLhsl(91, 69%, 33%)
HSVhsv(91, 82%, 55%)
CMYKcmyk(41.8%, 0%, 81.6%, 44.7%)
CIE-LABlab(52.86, -37.94, 50.51)
CIE-LCHlch(52.86, 63.17, 126.91°)
OKLaboklab(58.09% -0.1068 0.1115)
OKLCHoklch(58.09% 0.154 133.8)
XYZxyz(13.1908, 20.9175, 4.3195)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D1A #551A8D
analogous
#8B8D1A #528D1A #1A8D1C
triadic
#528D1A #1A528D #8D1A52
tetradic
#528D1A #1A8B8D #551A8D #8D1C1A
square
#528D1A #1A8B8D #551A8D #8D1C1A
split-complementary
#528D1A #1C1A8D #8D1A8B
monochromatic
#162607 #345910 #528D1A #70C124 #8FDD45

Accessibility & contrast

On white

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

On black

5.18
#528D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D1A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D1A#FFFFFF#000000##000000
##528D1A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #528d1a;
/* rgb */ color: rgb(82, 141, 26);
/* oklch */ color: oklch(58.1% 0.154 133.8);
Tailwind
colors: {
  custom: {
    50: '#88af61',
    500: '#528d1a',
    950: '#000000',
  },
}
SCSS
$custom: #528d1a;
$custom-light: #88af61;
$custom-dark: #000000;
JSON
{
  "hex": "#528d1a",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 90.783,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58094,
    "c": 0.15438,
    "h": 133.8
  },
  "luminance": 0.20918
}

Semantic roles & 50–950 ramp

primary
#528D1A
secondary
#8345BE
accent
#3CEC96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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