#528A18#528A18

#528A18 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.152 H 133.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#528A18
RGBrgb(82, 138, 24)
HSLhsl(89, 70%, 32%)
HSVhsv(89, 83%, 54%)
CMYKcmyk(40.6%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.88, -36.74, 50.21)
CIE-LCHlch(51.88, 62.22, 126.19°)
OKLaboklab(57.29% -0.1037 0.1106)
OKLCHoklch(57.29% 0.152 133.1)
XYZxyz(12.7328, 20.0361, 4.0604)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A18 #50188A
analogous
#8A8918 #528A18 #198A18
triadic
#528A18 #18528A #8A1852
tetradic
#528A18 #188A89 #50188A #8A1819
square
#528A18 #188A89 #50188A #8A1819
split-complementary
#528A18 #18198A #89188A
monochromatic
#142206 #33560F #528A18 #71BE21 #90DE3F

Accessibility & contrast

On white

4.19
#528A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#528A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A18
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A18#FFFFFF#000000##000000
##528A181.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#528475
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a18;
/* rgb */ color: rgb(82, 138, 24);
/* oklch */ color: oklch(57.3% 0.152 133.1);
Tailwind
colors: {
  custom: {
    50: '#88ac60',
    500: '#528a18',
    950: '#000000',
  },
}
SCSS
$custom: #528a18;
$custom-light: #88ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#528a18",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 89.474,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.15157,
    "h": 133.1
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#528A18
secondary
#7E40BD
accent
#3BED92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528A18

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

Preview Lab → · Contrast checker → · Palette generator →

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