#528918#528918

#528918 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.150 H 133.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#528918
RGBrgb(82, 137, 24)
HSLhsl(89, 70%, 32%)
HSVhsv(89, 82%, 54%)
CMYKcmyk(40.1%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.55, -36.30, 49.92)
CIE-LCHlch(51.55, 61.72, 126.03°)
OKLaboklab(57.02% -0.1025 0.11)
OKLCHoklch(57.02% 0.15 133)
XYZxyz(12.5900, 19.7505, 4.0128)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528918 #4F1889
analogous
#898818 #528918 #198918
triadic
#528918 #185289 #891852
tetradic
#528918 #188988 #4F1889 #891819
square
#528918 #188988 #4F1889 #891819
split-complementary
#528918 #181989 #881889
monochromatic
#142106 #33550F #528918 #71BD21 #90DD3E

Accessibility & contrast

On white

4.24
#528918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#528918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528918
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528918#FFFFFF#000000##000000
##5289181.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#528374
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #528918;
/* rgb */ color: rgb(82, 137, 24);
/* oklch */ color: oklch(57.0% 0.150 133.0);
Tailwind
colors: {
  custom: {
    50: '#88ac60',
    500: '#528918',
    950: '#000000',
  },
}
SCSS
$custom: #528918;
$custom-light: #88ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#528918",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 89.204,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.15031,
    "h": 133
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#528918
secondary
#7D40BD
accent
#3BED92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528918

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

Preview Lab → · Contrast checker → · Palette generator →

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