#528018#528018

#528018 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.139 H 131.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#528018
RGBrgb(82, 128, 24)
HSLhsl(87, 68%, 30%)
HSVhsv(87, 81%, 50%)
CMYKcmyk(35.9%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.63, -32.27, 47.22)
CIE-LCHlch(48.63, 57.20, 124.35°)
OKLaboklab(54.64% -0.0916 0.1043)
OKLCHoklch(54.64% 0.139 131.3)
XYZxyz(11.3636, 17.2977, 3.6040)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528018 #461880
analogous
#807A18 #528018 #1E8018
triadic
#528018 #185280 #801852
tetradic
#528018 #18807A #461880 #80181E
square
#528018 #18807A #461880 #80181E
split-complementary
#528018 #181E80 #7A1880
monochromatic
#111A05 #314C0E #528018 #73B422 #93DA39

Accessibility & contrast

On white

4.71
#528018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#528018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #528018
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528018#FFFFFF#000000##FFFFFF
##5280181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#547A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #528018;
/* rgb */ color: rgb(82, 128, 24);
/* oklch */ color: oklch(54.6% 0.139 131.3);
Tailwind
colors: {
  custom: {
    50: '#87a55f',
    500: '#528018',
    950: '#000000',
  },
}
SCSS
$custom: #528018;
$custom-light: #87a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#528018",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 86.538,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.13882,
    "h": 131.3
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#528018
secondary
#7340B4
accent
#3DEB8A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #528018

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

Preview Lab → · Contrast checker → · Palette generator →

#528018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva