#528D25#528D25

#528D25 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.148 H 134.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#528D25
RGBrgb(82, 141, 37)
HSLhsl(94, 58%, 35%)
HSVhsv(94, 74%, 55%)
CMYKcmyk(41.8%, 0%, 73.8%, 44.7%)
CIE-LABlab(52.92, -37.26, 46.76)
CIE-LCHlch(52.92, 59.79, 128.55°)
OKLaboklab(58.17% -0.1041 0.1054)
OKLCHoklch(58.17% 0.148 134.7)
XYZxyz(13.3382, 20.9765, 5.0960)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D25 #60258D
analogous
#868D25 #528D25 #258D2C
triadic
#528D25 #25528D #8D2552
tetradic
#528D25 #25868D #60258D #8D2C25
square
#528D25 #25868D #60258D #8D2C25
split-complementary
#528D25 #2C258D #8D2586
monochromatic
#1A2C0C #365D18 #528D25 #6EBD32 #8ED359

Accessibility & contrast

On white

4.04
#528D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#528D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D25
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D25#FFFFFF#000000##000000
##528D251.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928113
Deuteranopia (green-blind)
#8A7D2F
Tritanopia (blue-blind)
#518779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d25;
/* rgb */ color: rgb(82, 141, 37);
/* oklch */ color: oklch(58.2% 0.148 134.7);
Tailwind
colors: {
  custom: {
    50: '#88af67',
    500: '#528d25',
    950: '#000000',
  },
}
SCSS
$custom: #528d25;
$custom-light: #88af67;
$custom-dark: #000000;
JSON
{
  "hex": "#528d25",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 94.038,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.14816,
    "h": 134.7
  },
  "luminance": 0.20977
}

Semantic roles & 50–950 ramp

primary
#528D25
secondary
#8E56B8
accent
#46E29E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D25

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

Preview Lab → · Contrast checker → · Palette generator →

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