#528A2F#528A2F

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

Color values

HEX#528A2F
RGBrgb(82, 138, 47)
HSLhsl(97, 49%, 36%)
HSVhsv(97, 66%, 54%)
CMYKcmyk(40.6%, 0%, 65.9%, 45.9%)
CIE-LABlab(52.03, -35.11, 41.65)
CIE-LCHlch(52.03, 54.47, 130.13°)
OKLaboklab(57.47% -0.0975 0.096)
OKLCHoklch(57.47% 0.137 135.5)
XYZxyz(13.0809, 20.1754, 5.8938)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A2F #672F8A
analogous
#808A2F #528A2F #2F8A3A
triadic
#528A2F #2F528A #8A2F52
tetradic
#528A2F #2F808A #672F8A #8A3A2F
square
#528A2F #2F808A #672F8A #8A3A2F
split-complementary
#528A2F #3A2F8A #8A2F80
monochromatic
#1C2F10 #375C1F #528A2F #6DB83F #8ECC68

Accessibility & contrast

On white

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

On black

5.04
#528A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A2F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A2F#FFFFFF#000000##000000
##528A2F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #528a2f;
/* rgb */ color: rgb(82, 138, 47);
/* oklch */ color: oklch(57.5% 0.137 135.5);
Tailwind
colors: {
  custom: {
    50: '#87ac6c',
    500: '#528a2f',
    950: '#000000',
  },
}
SCSS
$custom: #528a2f;
$custom-light: #87ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#528a2f",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 96.923,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57466,
    "c": 0.13685,
    "h": 135.5
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#528A2F
secondary
#9462B3
accent
#4FD9A4
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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