#528F25#528F25

#528F25 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.151 H 134.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#528F25
RGBrgb(82, 143, 37)
HSLhsl(95, 59%, 35%)
HSVhsv(95, 74%, 56%)
CMYKcmyk(42.7%, 0%, 74.1%, 43.9%)
CIE-LABlab(53.57, -38.12, 47.41)
CIE-LCHlch(53.57, 60.83, 128.80°)
OKLaboklab(58.7% -0.1065 0.1067)
OKLCHoklch(58.7% 0.151 134.9)
XYZxyz(13.6358, 21.5716, 5.1951)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F25 #62258F
analogous
#878F25 #528F25 #258F2D
triadic
#528F25 #25528F #8F2552
tetradic
#528F25 #25878F #62258F #8F2D25
square
#528F25 #25878F #62258F #8F2D25
split-complementary
#528F25 #2D258F #8F2587
monochromatic
#1A2E0C #365E18 #528F25 #6EC032 #8ED45A

Accessibility & contrast

On white

3.95
#528F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#528F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F25
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F25#FFFFFF#000000##000000
##528F251.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948312
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#51897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f25;
/* rgb */ color: rgb(82, 143, 37);
/* oklch */ color: oklch(58.7% 0.151 134.9);
Tailwind
colors: {
  custom: {
    50: '#88b067',
    500: '#528f25',
    950: '#000000',
  },
}
SCSS
$custom: #528f25;
$custom-light: #88b067;
$custom-dark: #000000;
JSON
{
  "hex": "#528f25",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 94.528,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.15077,
    "h": 134.9
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#528F25
secondary
#8F57B9
accent
#46E2A0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528F25

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

Preview Lab → · Contrast checker → · Palette generator →

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