#528B25#528B25

#528B25 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.146 H 134.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#528B25
RGBrgb(82, 139, 37)
HSLhsl(94, 58%, 35%)
HSVhsv(94, 73%, 55%)
CMYKcmyk(41%, 0%, 73.4%, 45.5%)
CIE-LABlab(52.28, -36.38, 46.11)
CIE-LCHlch(52.28, 58.73, 128.28°)
OKLaboklab(57.64% -0.1018 0.104)
OKLCHoklch(57.64% 0.146 134.4)
XYZxyz(13.0460, 20.3920, 4.9985)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B25 #5E258B
analogous
#858B25 #528B25 #258B2B
triadic
#528B25 #25528B #8B2552
tetradic
#528B25 #25858B #5E258B #8B2B25
square
#528B25 #25858B #5E258B #8B2B25
split-complementary
#528B25 #2B258B #8B2585
monochromatic
#192A0B #355B18 #528B25 #6FBB32 #8ED358

Accessibility & contrast

On white

4.13
#528B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#528B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B25
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B25#FFFFFF#000000##000000
##528B251.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908013
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#518577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b25;
/* rgb */ color: rgb(82, 139, 37);
/* oklch */ color: oklch(57.6% 0.146 134.4);
Tailwind
colors: {
  custom: {
    50: '#88ad66',
    500: '#528b25',
    950: '#000000',
  },
}
SCSS
$custom: #528b25;
$custom-light: #88ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#528b25",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 93.529,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.14552,
    "h": 134.4
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#528B25
secondary
#8C55B7
accent
#47E19D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528B25

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

Preview Lab → · Contrast checker → · Palette generator →

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