#528B16#528B16

#528B16 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.154 H 133.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#528B16
RGBrgb(82, 139, 22)
HSLhsl(89, 73%, 32%)
HSVhsv(89, 84%, 55%)
CMYKcmyk(41%, 0%, 84.2%, 45.5%)
CIE-LABlab(52.19, -37.27, 51.07)
CIE-LCHlch(52.19, 63.22, 126.12°)
OKLaboklab(57.54% -0.1052 0.1121)
OKLCHoklch(57.54% 0.154 133.2)
XYZxyz(12.8569, 20.3164, 4.0029)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B16 #4F168B
analogous
#8B8A16 #528B16 #178B16
triadic
#528B16 #16528B #8B1652
tetradic
#528B16 #168B8A #4F168B #8B1617
square
#528B16 #168B8A #4F168B #8B1617
split-complementary
#528B16 #16178B #8A168B
monochromatic
#142105 #33560E #528B16 #71C01E #90E03B

Accessibility & contrast

On white

4.15
#528B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#528B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B16
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B16#FFFFFF#000000##000000
##528B161.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#528576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528b16;
/* rgb */ color: rgb(82, 139, 22);
/* oklch */ color: oklch(57.5% 0.154 133.2);
Tailwind
colors: {
  custom: {
    50: '#88ad60',
    500: '#528b16',
    950: '#000000',
  },
}
SCSS
$custom: #528b16;
$custom-light: #88ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#528b16",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 89.231,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.15372,
    "h": 133.2
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#528B16
secondary
#7D3EBF
accent
#38EF92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528B16

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

Preview Lab → · Contrast checker → · Palette generator →

#528B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva