#528418#528418

#528418 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.144 H 132.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#528418
RGBrgb(82, 132, 24)
HSLhsl(88, 69%, 31%)
HSVhsv(88, 82%, 52%)
CMYKcmyk(37.9%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.93, -34.09, 48.42)
CIE-LCHlch(49.93, 59.22, 125.14°)
OKLaboklab(55.7% -0.0965 0.1068)
OKLCHoklch(55.7% 0.144 132.1)
XYZxyz(11.8957, 18.3618, 3.7814)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528418 #4A1884
analogous
#848018 #528418 #1C8418
triadic
#528418 #185284 #841852
tetradic
#528418 #188480 #4A1884 #84181C
square
#528418 #188480 #4A1884 #84181C
split-complementary
#528418 #181C84 #801884
monochromatic
#121C05 #32500F #528418 #72B821 #91DB3B

Accessibility & contrast

On white

4.49
#528418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#528418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528418
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528418#FFFFFF#000000##000000
##5284181.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#537E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #528418;
/* rgb */ color: rgb(82, 132, 24);
/* oklch */ color: oklch(55.7% 0.144 132.1);
Tailwind
colors: {
  custom: {
    50: '#87a85f',
    500: '#528418',
    950: '#000000',
  },
}
SCSS
$custom: #528418;
$custom-light: #87a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#528418",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 87.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.14397,
    "h": 132.1
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

primary
#528418
secondary
#7740B8
accent
#3CEC8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #528418

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

Preview Lab → · Contrast checker → · Palette generator →

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