#528D27#528D27

#528D27 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.147 H 134.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#528D27
RGBrgb(82, 141, 39)
HSLhsl(95, 57%, 35%)
HSVhsv(95, 72%, 55%)
CMYKcmyk(41.8%, 0%, 72.3%, 44.7%)
CIE-LABlab(52.94, -37.11, 45.99)
CIE-LCHlch(52.94, 59.09, 128.90°)
OKLaboklab(58.18% -0.1036 0.1041)
OKLCHoklch(58.18% 0.147 134.9)
XYZxyz(13.3705, 20.9894, 5.2659)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D27 #62278D
analogous
#858D27 #528D27 #278D2F
triadic
#528D27 #27528D #8D2752
tetradic
#528D27 #27858D #62278D #8D2F27
square
#528D27 #27858D #62278D #8D2F27
split-complementary
#528D27 #2F278D #8D2785
monochromatic
#1A2D0C #365D1A #528D27 #6EBD34 #8ED25C

Accessibility & contrast

On white

4.04
#528D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#528D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D27
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D27#FFFFFF#000000##000000
##528D271.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#8A7D30
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d27;
/* rgb */ color: rgb(82, 141, 39);
/* oklch */ color: oklch(58.2% 0.147 134.9);
Tailwind
colors: {
  custom: {
    50: '#88af68',
    500: '#528d27',
    950: '#000000',
  },
}
SCSS
$custom: #528d27;
$custom-light: #88af68;
$custom-dark: #000000;
JSON
{
  "hex": "#528d27",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 94.706,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58184,
    "c": 0.14684,
    "h": 134.9
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#528D27
secondary
#8F59B7
accent
#48E0A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D27

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

Preview Lab → · Contrast checker → · Palette generator →

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