#528A2D#528A2D

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

Color values

HEX#528A2D
RGBrgb(82, 138, 45)
HSLhsl(96, 51%, 36%)
HSVhsv(96, 67%, 54%)
CMYKcmyk(40.6%, 0%, 67.4%, 45.9%)
CIE-LABlab(52.02, -35.29, 42.51)
CIE-LCHlch(52.02, 55.25, 129.69°)
OKLaboklab(57.45% -0.0982 0.0976)
OKLCHoklch(57.45% 0.138 135.2)
XYZxyz(13.0415, 20.1596, 5.6861)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A2D #652D8A
analogous
#808A2D #528A2D #2D8A36
triadic
#528A2D #2D528A #8A2D52
tetradic
#528A2D #2D808A #652D8A #8A362D
square
#528A2D #2D808A #652D8A #8A362D
split-complementary
#528A2D #362D8A #8A2D80
monochromatic
#1B2E0F #375C1E #528A2D #6DB83C #8ECD65

Accessibility & contrast

On white

4.17
#528A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##528A2D#FFFFFF#000000##000000
##528A2D1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#518577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a2d;
/* rgb */ color: rgb(82, 138, 45);
/* oklch */ color: oklch(57.4% 0.138 135.2);
Tailwind
colors: {
  custom: {
    50: '#87ac6b',
    500: '#528a2d',
    950: '#000000',
  },
}
SCSS
$custom: #528a2d;
$custom-light: #87ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#528a2d",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 96.129,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.13844,
    "h": 135.2
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

primary
#528A2D
secondary
#9260B3
accent
#4DDAA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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