#528E2A#528E2A

#528E2A is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.146 H 135.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#528E2A
RGBrgb(82, 142, 42)
HSLhsl(96, 54%, 36%)
HSVhsv(96, 70%, 56%)
CMYKcmyk(42.3%, 0%, 70.4%, 44.3%)
CIE-LABlab(53.28, -37.31, 45.13)
CIE-LCHlch(53.28, 58.55, 129.58°)
OKLaboklab(58.47% -0.1039 0.1027)
OKLCHoklch(58.47% 0.146 135.3)
XYZxyz(13.5703, 21.3063, 5.5875)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E2A #662A8E
analogous
#848E2A #528E2A #2A8E34
triadic
#528E2A #2A528E #8E2A52
tetradic
#528E2A #2A848E #662A8E #8E342A
square
#528E2A #2A848E #662A8E #8E342A
split-complementary
#528E2A #342A8E #8E2A84
monochromatic
#1B300E #375F1C #528E2A #6DBD38 #8ED162

Accessibility & contrast

On white

3.99
#528E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#528E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E2A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E2A#FFFFFF#000000##000000
##528E2A1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#50897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e2a;
/* rgb */ color: rgb(82, 142, 42);
/* oklch */ color: oklch(58.5% 0.146 135.3);
Tailwind
colors: {
  custom: {
    50: '#88af69',
    500: '#528e2a',
    950: '#000000',
  },
}
SCSS
$custom: #528e2a;
$custom-light: #88af69;
$custom-dark: #000000;
JSON
{
  "hex": "#528e2a",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 96,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.14609,
    "h": 135.3
  },
  "luminance": 0.21307
}

Semantic roles & 50–950 ramp

primary
#528E2A
secondary
#935DB6
accent
#4ADEA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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