#528A25#528A25

#528A25 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.144 H 134.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#528A25
RGBrgb(82, 138, 37)
HSLhsl(93, 58%, 34%)
HSVhsv(93, 73%, 54%)
CMYKcmyk(40.6%, 0%, 73.2%, 45.9%)
CIE-LABlab(51.95, -35.94, 45.78)
CIE-LCHlch(51.95, 58.20, 128.14°)
OKLaboklab(57.38% -0.1006 0.1033)
OKLCHoklch(57.38% 0.144 134.2)
XYZxyz(12.9018, 20.1037, 4.9505)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A25 #5D258A
analogous
#858A25 #528A25 #258A2B
triadic
#528A25 #25528A #8A2552
tetradic
#528A25 #25858A #5D258A #8A2B25
square
#528A25 #25858A #5D258A #8A2B25
split-complementary
#528A25 #2B258A #8A2585
monochromatic
#19290B #355A18 #528A25 #6FBA32 #8ED257

Accessibility & contrast

On white

4.18
#528A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#528A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A25
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A25#FFFFFF#000000##000000
##528A251.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F14
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#518576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a25;
/* rgb */ color: rgb(82, 138, 37);
/* oklch */ color: oklch(57.4% 0.144 134.2);
Tailwind
colors: {
  custom: {
    50: '#87ac66',
    500: '#528a25',
    950: '#000000',
  },
}
SCSS
$custom: #528a25;
$custom-light: #87ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#528a25",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 93.267,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.1442,
    "h": 134.2
  },
  "luminance": 0.20104
}

Semantic roles & 50–950 ramp

primary
#528A25
secondary
#8B54B7
accent
#47E19C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528A25

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

Preview Lab → · Contrast checker → · Palette generator →

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