#528B1A#528B1A

#528B1A is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.6% C 0.152 H 133.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#528B1A
RGBrgb(82, 139, 26)
HSLhsl(90, 68%, 32%)
HSVhsv(90, 81%, 55%)
CMYKcmyk(41%, 0%, 81.3%, 45.5%)
CIE-LABlab(52.21, -37.07, 49.91)
CIE-LCHlch(52.21, 62.17, 126.60°)
OKLaboklab(57.56% -0.1044 0.1103)
OKLCHoklch(57.56% 0.152 133.4)
XYZxyz(12.8985, 20.3330, 4.2221)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B1A #531A8B
analogous
#8B8B1A #528B1A #1A8B1A
triadic
#528B1A #1A528B #8B1A52
tetradic
#528B1A #1A8B8B #531A8B #8B1A1A
square
#528B1A #1A8B8B #531A8B #8B1A1A
split-complementary
#528B1A #1A1A8B #8B1A8B
monochromatic
#152407 #345710 #528B1A #70BF24 #8FDC43

Accessibility & contrast

On white

4.14
#528B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#528B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B1A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B1A#FFFFFF#000000##000000
##528B1A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #528b1a;
/* rgb */ color: rgb(82, 139, 26);
/* oklch */ color: oklch(57.6% 0.152 133.4);
Tailwind
colors: {
  custom: {
    50: '#88ad61',
    500: '#528b1a',
    950: '#000000',
  },
}
SCSS
$custom: #528b1a;
$custom-light: #88ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#528b1a",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 90.265,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.15186,
    "h": 133.4
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

primary
#528B1A
secondary
#8144BD
accent
#3CEB95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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