#528C2B#528C2B

#528C2B is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.143 H 135.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#528C2B
RGBrgb(82, 140, 43)
HSLhsl(96, 53%, 36%)
HSVhsv(96, 69%, 55%)
CMYKcmyk(41.4%, 0%, 69.3%, 45.1%)
CIE-LABlab(52.65, -36.35, 44.05)
CIE-LCHlch(52.65, 57.11, 129.53°)
OKLaboklab(57.96% -0.1012 0.1005)
OKLCHoklch(57.96% 0.143 135.2)
XYZxyz(13.2935, 20.7237, 5.5847)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C2B #652B8C
analogous
#828C2B #528C2B #2B8C34
triadic
#528C2B #2B528C #8C2B52
tetradic
#528C2B #2B828C #652B8C #8C342B
square
#528C2B #2B828C #652B8C #8C342B
split-complementary
#528C2B #342B8C #8C2B82
monochromatic
#1B2E0E #375D1D #528C2B #6DBB39 #8ECF62

Accessibility & contrast

On white

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

On black

5.14
#528C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C2B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C2B#FFFFFF#000000##000000
##528C2B1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c2b;
/* rgb */ color: rgb(82, 140, 43);
/* oklch */ color: oklch(58.0% 0.143 135.2);
Tailwind
colors: {
  custom: {
    50: '#87ae6a',
    500: '#528c2b',
    950: '#000000',
  },
}
SCSS
$custom: #528c2b;
$custom-light: #87ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#528c2b",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 95.876,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.14267,
    "h": 135.2
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#528C2B
secondary
#925EB5
accent
#4BDCA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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