#528E1B#528E1B

#528E1B is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.155 H 134.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#528E1B
RGBrgb(82, 142, 27)
HSLhsl(91, 68%, 33%)
HSVhsv(91, 81%, 56%)
CMYKcmyk(42.3%, 0%, 81%, 44.3%)
CIE-LABlab(53.19, -38.31, 50.51)
CIE-LCHlch(53.19, 63.40, 127.18°)
OKLaboklab(58.37% -0.1077 0.1117)
OKLCHoklch(58.37% 0.155 134)
XYZxyz(13.3503, 21.2183, 4.4288)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E1B #571B8E
analogous
#8B8E1B #528E1B #1B8E1D
triadic
#528E1B #1B528E #8E1B52
tetradic
#528E1B #1B8B8E #571B8E #8E1D1B
square
#528E1B #1B8B8E #571B8E #8E1D1B
split-complementary
#528E1B #1D1B8E #8E1B8B
monochromatic
#172707 #345B11 #528E1B #70C125 #8EDC47

Accessibility & contrast

On white

4.00
#528E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#528E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E1B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E1B#FFFFFF#000000##000000
##528E1B1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e1b;
/* rgb */ color: rgb(82, 142, 27);
/* oklch */ color: oklch(58.4% 0.155 134.0);
Tailwind
colors: {
  custom: {
    50: '#88af62',
    500: '#528e1b',
    950: '#000000',
  },
}
SCSS
$custom: #528e1b;
$custom-light: #88af62;
$custom-dark: #000000;
JSON
{
  "hex": "#528e1b",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 91.304,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.15515,
    "h": 134
  },
  "luminance": 0.21219
}

Semantic roles & 50–950 ramp

primary
#528E1B
secondary
#8547BE
accent
#3DEB98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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