#528B2A#528B2A

#528B2A is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.142 H 134.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#528B2A
RGBrgb(82, 139, 42)
HSLhsl(95, 54%, 35%)
HSVhsv(95, 70%, 55%)
CMYKcmyk(41%, 0%, 69.8%, 45.5%)
CIE-LABlab(52.31, -35.99, 44.12)
CIE-LCHlch(52.31, 56.94, 129.21°)
OKLaboklab(57.68% -0.1003 0.1006)
OKLCHoklch(57.68% 0.142 134.9)
XYZxyz(13.1299, 20.4256, 5.4407)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B2A #632A8B
analogous
#828B2A #528B2A #2A8B33
triadic
#528B2A #2A528B #8B2A52
tetradic
#528B2A #2A828B #632A8B #8B332A
square
#528B2A #2A828B #632A8B #8B332A
split-complementary
#528B2A #332A8B #8B2A82
monochromatic
#1B2D0E #365C1C #528B2A #6EBA38 #8ECF60

Accessibility & contrast

On white

4.13
#528B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#528B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B2A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B2A#FFFFFF#000000##000000
##528B2A1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#518677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b2a;
/* rgb */ color: rgb(82, 139, 42);
/* oklch */ color: oklch(57.7% 0.142 134.9);
Tailwind
colors: {
  custom: {
    50: '#87ad69',
    500: '#528b2a',
    950: '#000000',
  },
}
SCSS
$custom: #528b2a;
$custom-light: #87ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#528b2a",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 95.258,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.14206,
    "h": 134.9
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#528B2A
secondary
#905CB5
accent
#4BDDA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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