#528A2A#528A2A

#528A2A is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.141 H 134.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#528A2A
RGBrgb(82, 138, 42)
HSLhsl(95, 53%, 35%)
HSVhsv(95, 70%, 54%)
CMYKcmyk(40.6%, 0%, 69.6%, 45.9%)
CIE-LABlab(51.99, -35.55, 43.78)
CIE-LCHlch(51.99, 56.39, 129.08°)
OKLaboklab(57.42% -0.0991 0.0999)
OKLCHoklch(57.42% 0.141 134.8)
XYZxyz(12.9858, 20.1373, 5.3927)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A2A #622A8A
analogous
#828A2A #528A2A #2A8A32
triadic
#528A2A #2A528A #8A2A52
tetradic
#528A2A #2A828A #622A8A #8A322A
square
#528A2A #2A828A #622A8A #8A322A
split-complementary
#528A2A #322A8A #8A2A82
monochromatic
#1A2C0D #365B1C #528A2A #6EB938 #8ECF60

Accessibility & contrast

On white

4.18
#528A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#528A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A2A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A2A#FFFFFF#000000##000000
##528A2A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1C
Deuteranopia (green-blind)
#887A32
Tritanopia (blue-blind)
#518577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a2a;
/* rgb */ color: rgb(82, 138, 42);
/* oklch */ color: oklch(57.4% 0.141 134.8);
Tailwind
colors: {
  custom: {
    50: '#87ac69',
    500: '#528a2a',
    950: '#000000',
  },
}
SCSS
$custom: #528a2a;
$custom-light: #87ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#528a2a",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 95,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.1407,
    "h": 134.8
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#528A2A
secondary
#8F5BB4
accent
#4BDDA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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