#528B2B#528B2B

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

Color values

HEX#528B2B
RGBrgb(82, 139, 43)
HSLhsl(96, 53%, 36%)
HSVhsv(96, 69%, 55%)
CMYKcmyk(41%, 0%, 69.1%, 45.5%)
CIE-LABlab(52.32, -35.91, 43.70)
CIE-LCHlch(52.32, 56.56, 129.41°)
OKLaboklab(57.69% -0.1 0.0998)
OKLCHoklch(57.69% 0.141 135.1)
XYZxyz(13.1480, 20.4328, 5.5362)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B2B #642B8B
analogous
#828B2B #528B2B #2B8B34
triadic
#528B2B #2B528B #8B2B52
tetradic
#528B2B #2B828B #642B8B #8B342B
square
#528B2B #2B828B #642B8B #8B342B
split-complementary
#528B2B #342B8B #8B2B82
monochromatic
#1B2E0E #365C1D #528B2B #6EBA39 #8ECE62

Accessibility & contrast

On white

4.13
#528B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##528B2B#FFFFFF#000000##000000
##528B2B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801E
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#518678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b2b;
/* rgb */ color: rgb(82, 139, 43);
/* oklch */ color: oklch(57.7% 0.141 135.1);
Tailwind
colors: {
  custom: {
    50: '#87ad6a',
    500: '#528b2b',
    950: '#000000',
  },
}
SCSS
$custom: #528b2b;
$custom-light: #87ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#528b2b",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 95.625,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.14132,
    "h": 135.1
  },
  "luminance": 0.20433
}

Semantic roles & 50–950 ramp

primary
#528B2B
secondary
#915DB5
accent
#4CDCA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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