#528E25#528E25

#528E25 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.149 H 134.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#528E25
RGBrgb(82, 142, 37)
HSLhsl(94, 59%, 35%)
HSVhsv(94, 74%, 56%)
CMYKcmyk(42.3%, 0%, 73.9%, 44.3%)
CIE-LABlab(53.25, -37.69, 47.08)
CIE-LCHlch(53.25, 60.31, 128.68°)
OKLaboklab(58.43% -0.1053 0.1061)
OKLCHoklch(58.43% 0.149 134.8)
XYZxyz(13.4863, 21.2727, 5.1453)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E25 #61258E
analogous
#868E25 #528E25 #258E2D
triadic
#528E25 #25528E #8E2552
tetradic
#528E25 #25868E #61258E #8E2D25
square
#528E25 #25868E #61258E #8E2D25
split-complementary
#528E25 #2D258E #8E2586
monochromatic
#1A2D0C #365D18 #528E25 #6EBF32 #8ED45A

Accessibility & contrast

On white

4.00
#528E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#528E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E25
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E25#FFFFFF#000000##000000
##528E251.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#51887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e25;
/* rgb */ color: rgb(82, 142, 37);
/* oklch */ color: oklch(58.4% 0.149 134.8);
Tailwind
colors: {
  custom: {
    50: '#88af67',
    500: '#528e25',
    950: '#000000',
  },
}
SCSS
$custom: #528e25;
$custom-light: #88af67;
$custom-dark: #000000;
JSON
{
  "hex": "#528e25",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 94.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58432,
    "c": 0.14946,
    "h": 134.8
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#528E25
secondary
#8E56B9
accent
#46E29F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528E25

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

Preview Lab → · Contrast checker → · Palette generator →

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