#528226#528226

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

Color values

HEX#528226
RGBrgb(82, 130, 38)
HSLhsl(91, 55%, 33%)
HSVhsv(91, 71%, 51%)
CMYKcmyk(36.9%, 0%, 70.8%, 49%)
CIE-LABlab(49.37, -32.26, 42.73)
CIE-LCHlch(49.37, 53.54, 127.06°)
OKLaboklab(55.27% -0.0905 0.0971)
OKLCHoklch(55.27% 0.133 133)
XYZxyz(11.8120, 17.8985, 4.6657)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528226 #562682
analogous
#808226 #528226 #268228
triadic
#528226 #265282 #822652
tetradic
#528226 #268082 #562682 #822826
square
#528226 #268082 #562682 #822826
split-complementary
#528226 #282682 #822680
monochromatic
#16230A #345318 #528226 #70B134 #8FCD55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528226#FFFFFF#000000##FFFFFF
##5282261.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)
#877818
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#527D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528226;
/* rgb */ color: rgb(82, 130, 38);
/* oklch */ color: oklch(55.3% 0.133 133.0);
Tailwind
colors: {
  custom: {
    50: '#87a666',
    500: '#528226',
    950: '#000000',
  },
}
SCSS
$custom: #528226;
$custom-light: #87a666;
$custom-dark: #000000;
JSON
{
  "hex": "#528226",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 91.304,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.13273,
    "h": 133
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#528226
secondary
#8452B2
accent
#4ADE97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528226

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

Preview Lab → · Contrast checker → · Palette generator →

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