#528E28#528E28

#528E28 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.147 H 135.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#528E28
RGBrgb(82, 142, 40)
HSLhsl(95, 56%, 36%)
HSVhsv(95, 72%, 56%)
CMYKcmyk(42.3%, 0%, 71.8%, 44.3%)
CIE-LABlab(53.27, -37.46, 45.93)
CIE-LCHlch(53.27, 59.27, 129.20°)
OKLaboklab(58.46% -0.1045 0.1041)
OKLCHoklch(58.46% 0.147 135.1)
XYZxyz(13.5354, 21.2923, 5.4037)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E28 #64288E
analogous
#858E28 #528E28 #288E31
triadic
#528E28 #28528E #8E2852
tetradic
#528E28 #28858E #64288E #8E3128
square
#528E28 #28858E #64288E #8E3128
split-complementary
#528E28 #31288E #8E2885
monochromatic
#1B2F0D #365E1B #528E28 #6EBE35 #8ED25F

Accessibility & contrast

On white

3.99
#528E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#528E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E28
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E28#FFFFFF#000000##000000
##528E281.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#51897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e28;
/* rgb */ color: rgb(82, 142, 40);
/* oklch */ color: oklch(58.5% 0.147 135.1);
Tailwind
colors: {
  custom: {
    50: '#88af68',
    500: '#528e28',
    950: '#000000',
  },
}
SCSS
$custom: #528e28;
$custom-light: #88af68;
$custom-dark: #000000;
JSON
{
  "hex": "#528e28",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 95.294,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.14748,
    "h": 135.1
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#528E28
secondary
#915BB7
accent
#48DFA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528E28

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

Preview Lab → · Contrast checker → · Palette generator →

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