#528C2F#528C2F

#528C2F is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.140 H 135.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#528C2F
RGBrgb(82, 140, 47)
HSLhsl(97, 50%, 37%)
HSVhsv(97, 66%, 55%)
CMYKcmyk(41.4%, 0%, 66.4%, 45.1%)
CIE-LABlab(52.68, -35.99, 42.35)
CIE-LCHlch(52.68, 55.58, 130.36°)
OKLaboklab(57.99% -0.0999 0.0975)
OKLCHoklch(57.99% 0.14 135.7)
XYZxyz(13.3705, 20.7545, 5.9903)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C2F #692F8C
analogous
#818C2F #528C2F #2F8C3A
triadic
#528C2F #2F528C #8C2F52
tetradic
#528C2F #2F818C #692F8C #8C3A2F
square
#528C2F #2F818C #692F8C #8C3A2F
split-complementary
#528C2F #3A2F8C #8C2F81
monochromatic
#1C3010 #375E20 #528C2F #6DBA3E #8ECD69

Accessibility & contrast

On white

4.08
#528C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#528C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C2F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C2F#FFFFFF#000000##000000
##528C2F1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#508779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c2f;
/* rgb */ color: rgb(82, 140, 47);
/* oklch */ color: oklch(58.0% 0.140 135.7);
Tailwind
colors: {
  custom: {
    50: '#87ae6c',
    500: '#528c2f',
    950: '#000000',
  },
}
SCSS
$custom: #528c2f;
$custom-light: #87ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#528c2f",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 97.419,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.13962,
    "h": 135.7
  },
  "luminance": 0.20755
}

Semantic roles & 50–950 ramp

primary
#528C2F
secondary
#9563B4
accent
#4FD9A5
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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