#528A2E#528A2E

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

Color values

HEX#528A2E
RGBrgb(82, 138, 46)
HSLhsl(97, 50%, 36%)
HSVhsv(97, 67%, 54%)
CMYKcmyk(40.6%, 0%, 66.7%, 45.9%)
CIE-LABlab(52.03, -35.20, 42.08)
CIE-LCHlch(52.03, 54.86, 129.91°)
OKLaboklab(57.46% -0.0979 0.0968)
OKLCHoklch(57.46% 0.138 135.3)
XYZxyz(13.0610, 20.1674, 5.7887)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A2E #662E8A
analogous
#808A2E #528A2E #2E8A38
triadic
#528A2E #2E528A #8A2E52
tetradic
#528A2E #2E808A #662E8A #8A382E
square
#528A2E #2E808A #662E8A #8A382E
split-complementary
#528A2E #382E8A #8A2E80
monochromatic
#1B2E0F #375C1F #528A2E #6DB83D #8ECC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528A2E#FFFFFF#000000##000000
##528A2E1.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)
#8F7F22
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#518577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a2e;
/* rgb */ color: rgb(82, 138, 46);
/* oklch */ color: oklch(57.5% 0.138 135.3);
Tailwind
colors: {
  custom: {
    50: '#87ac6b',
    500: '#528a2e',
    950: '#000000',
  },
}
SCSS
$custom: #528a2e;
$custom-light: #87ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#528a2e",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 96.522,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.13765,
    "h": 135.3
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#528A2E
secondary
#9361B3
accent
#4EDAA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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