#528223#528223

#528223 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.135 H 132.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#528223
RGBrgb(82, 130, 35)
HSLhsl(90, 58%, 32%)
HSVhsv(90, 73%, 51%)
CMYKcmyk(36.9%, 0%, 73.1%, 49%)
CIE-LABlab(49.35, -32.49, 43.93)
CIE-LCHlch(49.35, 54.64, 126.49°)
OKLaboklab(55.24% -0.0914 0.0992)
OKLCHoklch(55.24% 0.135 132.7)
XYZxyz(11.7655, 17.8800, 4.4210)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528223 #532382
analogous
#828223 #528223 #238224
triadic
#528223 #235282 #822352
tetradic
#528223 #238282 #532382 #822423
square
#528223 #238282 #532382 #822423
split-complementary
#528223 #242382 #822382
monochromatic
#152209 #345216 #528223 #70B230 #8FD050

Accessibility & contrast

On white

4.59
#528223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#528223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528223
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528223#FFFFFF#000000##FFFFFF
##5282231.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#537D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528223;
/* rgb */ color: rgb(82, 130, 35);
/* oklch */ color: oklch(55.2% 0.135 132.7);
Tailwind
colors: {
  custom: {
    50: '#87a664',
    500: '#528223',
    950: '#000000',
  },
}
SCSS
$custom: #528223;
$custom-light: #87a664;
$custom-dark: #000000;
JSON
{
  "hex": "#528223",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 90.316,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.13484,
    "h": 132.7
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#528223
secondary
#814DB3
accent
#47E195
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528223

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

Preview Lab → · Contrast checker → · Palette generator →

#528223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva