#528B2F#528B2F

#528B2F is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.138 H 135.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#528B2F
RGBrgb(82, 139, 47)
HSLhsl(97, 49%, 36%)
HSVhsv(97, 66%, 55%)
CMYKcmyk(41%, 0%, 66.2%, 45.5%)
CIE-LABlab(52.36, -35.55, 42.00)
CIE-LCHlch(52.36, 55.02, 130.25°)
OKLaboklab(57.73% -0.0987 0.0968)
OKLCHoklch(57.73% 0.138 135.6)
XYZxyz(13.2251, 20.4636, 5.9418)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B2F #682F8B
analogous
#808B2F #528B2F #2F8B3A
triadic
#528B2F #2F528B #8B2F52
tetradic
#528B2F #2F808B #682F8B #8B3A2F
square
#528B2F #2F808B #682F8B #8B3A2F
split-complementary
#528B2F #3A2F8B #8B2F80
monochromatic
#1C3010 #375D20 #528B2F #6DB93E #8ECC68

Accessibility & contrast

On white

4.12
#528B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#528B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B2F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B2F#FFFFFF#000000##000000
##528B2F1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#508678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b2f;
/* rgb */ color: rgb(82, 139, 47);
/* oklch */ color: oklch(57.7% 0.138 135.6);
Tailwind
colors: {
  custom: {
    50: '#87ad6c',
    500: '#528b2f',
    950: '#000000',
  },
}
SCSS
$custom: #528b2f;
$custom-light: #87ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#528b2f",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 97.174,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.13825,
    "h": 135.6
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #528B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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