#528D2F#528D2F

#528D2F is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.3% C 0.141 H 135.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#528D2F
RGBrgb(82, 141, 47)
HSLhsl(98, 50%, 37%)
HSVhsv(98, 67%, 55%)
CMYKcmyk(41.8%, 0%, 66.7%, 44.7%)
CIE-LABlab(53.00, -36.43, 42.70)
CIE-LCHlch(53.00, 56.13, 130.48°)
OKLaboklab(58.26% -0.1012 0.0982)
OKLCHoklch(58.26% 0.141 135.8)
XYZxyz(13.5173, 21.0481, 6.0392)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D2F #6A2F8D
analogous
#818D2F #528D2F #2F8D3B
triadic
#528D2F #2F528D #8D2F52
tetradic
#528D2F #2F818D #6A2F8D #8D3B2F
square
#528D2F #2F818D #6A2F8D #8D3B2F
split-complementary
#528D2F #3B2F8D #8D2F81
monochromatic
#1D3110 #375F20 #528D2F #6DBB3E #8ECD69

Accessibility & contrast

On white

4.03
#528D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#528D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D2F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D2F#FFFFFF#000000##000000
##528D2F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#50887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528d2f;
/* rgb */ color: rgb(82, 141, 47);
/* oklch */ color: oklch(58.3% 0.141 135.8);
Tailwind
colors: {
  custom: {
    50: '#87af6c',
    500: '#528d2f',
    950: '#000000',
  },
}
SCSS
$custom: #528d2f;
$custom-light: #87af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#528d2f",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 97.66,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.141,
    "h": 135.8
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#528D2F
secondary
#9664B4
accent
#4EDAA6
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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