#528A1B#528A1B

#528A1B is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.150 H 133.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#528A1B
RGBrgb(82, 138, 27)
HSLhsl(90, 67%, 32%)
HSVhsv(90, 80%, 54%)
CMYKcmyk(40.6%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.89, -36.58, 49.30)
CIE-LCHlch(51.89, 61.39, 126.58°)
OKLaboklab(57.3% -0.103 0.1091)
OKLCHoklch(57.3% 0.15 133.4)
XYZxyz(12.7658, 20.0493, 4.2340)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A1B #531B8A
analogous
#8A8A1B #528A1B #1B8A1B
triadic
#528A1B #1B528A #8A1B52
tetradic
#528A1B #1B8A8A #531B8A #8A1B1B
square
#528A1B #1B8A8A #531B8A #8A1B1B
split-complementary
#528A1B #1B1B8A #8A1B8A
monochromatic
#152407 #345711 #528A1B #70BD25 #8FDB45

Accessibility & contrast

On white

4.19
#528A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#528A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A1B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A1B#FFFFFF#000000##000000
##528A1B1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#528475
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a1b;
/* rgb */ color: rgb(82, 138, 27);
/* oklch */ color: oklch(57.3% 0.150 133.4);
Tailwind
colors: {
  custom: {
    50: '#88ac61',
    500: '#528a1b',
    950: '#000000',
  },
}
SCSS
$custom: #528a1b;
$custom-light: #88ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#528a1b",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 90.27,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.1501,
    "h": 133.4
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

primary
#528A1B
secondary
#8145BC
accent
#3EEA95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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