#528518#528518

#528518 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.145 H 132.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#528518
RGBrgb(82, 133, 24)
HSLhsl(88, 69%, 31%)
HSVhsv(88, 82%, 52%)
CMYKcmyk(38.3%, 0%, 82%, 47.8%)
CIE-LABlab(50.26, -34.53, 48.72)
CIE-LCHlch(50.26, 59.72, 125.33°)
OKLaboklab(55.96% -0.0977 0.1075)
OKLCHoklch(55.96% 0.145 132.3)
XYZxyz(12.0319, 18.6343, 3.8268)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528518 #4B1885
analogous
#858118 #528518 #1C8518
triadic
#528518 #185285 #851852
tetradic
#528518 #188581 #4B1885 #85181C
square
#528518 #188581 #4B1885 #85181C
split-complementary
#528518 #181C85 #811885
monochromatic
#121D05 #32510F #528518 #72B921 #91DC3C

Accessibility & contrast

On white

4.44
#528518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#528518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528518
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528518#FFFFFF#000000##000000
##5285181.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#537F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #528518;
/* rgb */ color: rgb(82, 133, 24);
/* oklch */ color: oklch(56.0% 0.145 132.3);
Tailwind
colors: {
  custom: {
    50: '#88a95f',
    500: '#528518',
    950: '#000000',
  },
}
SCSS
$custom: #528518;
$custom-light: #88a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#528518",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 88.073,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.14525,
    "h": 132.3
  },
  "luminance": 0.18635
}

Semantic roles & 50–950 ramp

primary
#528518
secondary
#7940B9
accent
#3CEC8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528518

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

Preview Lab → · Contrast checker → · Palette generator →

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