#528019#528019

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

Color values

HEX#528019
RGBrgb(82, 128, 25)
HSLhsl(87, 67%, 30%)
HSVhsv(87, 80%, 50%)
CMYKcmyk(35.9%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.64, -32.22, 46.90)
CIE-LCHlch(48.64, 56.90, 124.49°)
OKLaboklab(54.64% -0.0914 0.1038)
OKLCHoklch(54.64% 0.138 131.4)
XYZxyz(11.3742, 17.3019, 3.6598)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528019 #471980
analogous
#807A19 #528019 #1F8019
triadic
#528019 #195280 #801952
tetradic
#528019 #19807A #471980 #80191F
square
#528019 #19807A #471980 #80191F
split-complementary
#528019 #191F80 #7A1980
monochromatic
#101A05 #314D0F #528019 #73B323 #92D93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528019#FFFFFF#000000##FFFFFF
##5280191.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)
#807224
Tritanopia (blue-blind)
#547A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #528019;
/* rgb */ color: rgb(82, 128, 25);
/* oklch */ color: oklch(54.6% 0.138 131.4);
Tailwind
colors: {
  custom: {
    50: '#87a55f',
    500: '#528019',
    950: '#000000',
  },
}
SCSS
$custom: #528019;
$custom-light: #87a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#528019",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 86.796,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.1383,
    "h": 131.4
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#528019
secondary
#7441B4
accent
#3EEA8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #528019

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

Preview Lab → · Contrast checker → · Palette generator →

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