#528C18#528C18

#528C18 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.154 H 133.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#528C18
RGBrgb(82, 140, 24)
HSLhsl(90, 71%, 32%)
HSVhsv(90, 83%, 55%)
CMYKcmyk(41.4%, 0%, 82.9%, 45.1%)
CIE-LABlab(52.53, -37.61, 50.80)
CIE-LCHlch(52.53, 63.21, 126.51°)
OKLaboklab(57.82% -0.106 0.1118)
OKLCHoklch(57.82% 0.154 133.5)
XYZxyz(13.0224, 20.6153, 4.1570)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C18 #52188C
analogous
#8C8C18 #528C18 #188C18
triadic
#528C18 #18528C #8C1852
tetradic
#528C18 #188C8C #52188C #8C1818
square
#528C18 #188C8C #52188C #8C1818
split-complementary
#528C18 #18188C #8C188C
monochromatic
#152406 #33580F #528C18 #71C021 #8FDE40

Accessibility & contrast

On white

4.10
#528C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#528C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C18
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C18#FFFFFF#000000##000000
##528C181.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#528677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528c18;
/* rgb */ color: rgb(82, 140, 24);
/* oklch */ color: oklch(57.8% 0.154 133.5);
Tailwind
colors: {
  custom: {
    50: '#88ae60',
    500: '#528c18',
    950: '#000000',
  },
}
SCSS
$custom: #528c18;
$custom-light: #88ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#528c18",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57818,
    "c": 0.15407,
    "h": 133.5
  },
  "luminance": 0.20616
}

Semantic roles & 50–950 ramp

primary
#528C18
secondary
#8041BF
accent
#3AED94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528C18

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

Preview Lab → · Contrast checker → · Palette generator →

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