#528F28#528F28

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

Color values

HEX#528F28
RGBrgb(82, 143, 40)
HSLhsl(96, 56%, 36%)
HSVhsv(96, 72%, 56%)
CMYKcmyk(42.7%, 0%, 72%, 43.9%)
CIE-LABlab(53.59, -37.90, 46.26)
CIE-LCHlch(53.59, 59.80, 129.32°)
OKLaboklab(58.72% -0.1057 0.1048)
OKLCHoklch(58.72% 0.149 135.2)
XYZxyz(13.6848, 21.5912, 5.4535)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F28 #65288F
analogous
#858F28 #528F28 #288F31
triadic
#528F28 #28528F #8F2852
tetradic
#528F28 #28858F #65288F #8F3128
square
#528F28 #28858F #65288F #8F3128
split-complementary
#528F28 #31288F #8F2885
monochromatic
#1B2F0D #375F1B #528F28 #6DBF35 #8ED25F

Accessibility & contrast

On white

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

On black

5.32
#528F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F28
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F28#FFFFFF#000000##000000
##528F281.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#508A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f28;
/* rgb */ color: rgb(82, 143, 40);
/* oklch */ color: oklch(58.7% 0.149 135.2);
Tailwind
colors: {
  custom: {
    50: '#88b068',
    500: '#528f28',
    950: '#000000',
  },
}
SCSS
$custom: #528f28;
$custom-light: #88b068;
$custom-dark: #000000;
JSON
{
  "hex": "#528f28",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 95.534,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58721,
    "c": 0.1488,
    "h": 135.2
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#528F28
secondary
#925BB8
accent
#48E0A2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528F28

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

Preview Lab → · Contrast checker → · Palette generator →

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