#528D1B#528D1B

#528D1B is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.154 H 133.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#528D1B
RGBrgb(82, 141, 27)
HSLhsl(91, 68%, 33%)
HSVhsv(91, 81%, 55%)
CMYKcmyk(41.8%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.86, -37.88, 50.21)
CIE-LCHlch(52.86, 62.90, 127.04°)
OKLaboklab(58.1% -0.1065 0.111)
OKLCHoklch(58.1% 0.154 133.8)
XYZxyz(13.2022, 20.9220, 4.3794)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D1B #561B8D
analogous
#8B8D1B #528D1B #1B8D1D
triadic
#528D1B #1B528D #8D1B52
tetradic
#528D1B #1B8B8D #561B8D #8D1D1B
square
#528D1B #1B8B8D #561B8D #8D1D1B
split-complementary
#528D1B #1D1B8D #8D1B8B
monochromatic
#162607 #345A11 #528D1B #70C025 #8FDC47

Accessibility & contrast

On white

4.05
#528D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#528D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D1B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D1B#FFFFFF#000000##000000
##528D1B1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#528778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d1b;
/* rgb */ color: rgb(82, 141, 27);
/* oklch */ color: oklch(58.1% 0.154 133.8);
Tailwind
colors: {
  custom: {
    50: '#88af62',
    500: '#528d1b',
    950: '#000000',
  },
}
SCSS
$custom: #528d1b;
$custom-light: #88af62;
$custom-dark: #000000;
JSON
{
  "hex": "#528d1b",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 91.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.581,
    "c": 0.15389,
    "h": 133.8
  },
  "luminance": 0.20923
}

Semantic roles & 50–950 ramp

primary
#528D1B
secondary
#8446BD
accent
#3DEB97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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