#528E18#528E18

#528E18 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.157 H 133.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#528E18
RGBrgb(82, 142, 24)
HSLhsl(91, 71%, 33%)
HSVhsv(91, 83%, 56%)
CMYKcmyk(42.3%, 0%, 83.1%, 44.3%)
CIE-LABlab(53.17, -38.47, 51.39)
CIE-LCHlch(53.17, 64.19, 126.81°)
OKLaboklab(58.35% -0.1083 0.1131)
OKLCHoklch(58.35% 0.157 133.8)
XYZxyz(13.3173, 21.2051, 4.2553)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E18 #54188E
analogous
#8D8E18 #528E18 #188E19
triadic
#528E18 #18528E #8E1852
tetradic
#528E18 #188D8E #54188E #8E1918
square
#528E18 #188D8E #54188E #8E1918
split-complementary
#528E18 #19188E #8E188D
monochromatic
#162506 #345A0F #528E18 #70C221 #8FDF41

Accessibility & contrast

On white

4.01
#528E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#528E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E18
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E18#FFFFFF#000000##000000
##528E181.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e18;
/* rgb */ color: rgb(82, 142, 24);
/* oklch */ color: oklch(58.3% 0.157 133.8);
Tailwind
colors: {
  custom: {
    50: '#88af61',
    500: '#528e18',
    950: '#000000',
  },
}
SCSS
$custom: #528e18;
$custom-light: #88af61;
$custom-dark: #000000;
JSON
{
  "hex": "#528e18",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 90.508,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.15657,
    "h": 133.8
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#528E18
secondary
#8242C0
accent
#3AEE95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528E18

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

Preview Lab → · Contrast checker → · Palette generator →

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