#528122#528122

#528122 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.134 H 132.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#528122
RGBrgb(82, 129, 34)
HSLhsl(90, 58%, 32%)
HSVhsv(90, 74%, 51%)
CMYKcmyk(36.4%, 0%, 73.6%, 49.4%)
CIE-LABlab(49.02, -32.11, 43.99)
CIE-LCHlch(49.02, 54.46, 126.12°)
OKLaboklab(54.97% -0.0904 0.0991)
OKLCHoklch(54.97% 0.134 132.4)
XYZxyz(11.6185, 17.6094, 4.2998)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528122 #512281
analogous
#818122 #528122 #238122
triadic
#528122 #225281 #812252
tetradic
#528122 #228181 #512281 #812223
square
#528122 #228181 #512281 #812223
split-complementary
#528122 #222381 #812281
monochromatic
#142008 #335115 #528122 #71B12F #8FD04D

Accessibility & contrast

On white

4.64
#528122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#528122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528122
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528122#FFFFFF#000000##FFFFFF
##5281221.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#537C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #528122;
/* rgb */ color: rgb(82, 129, 34);
/* oklch */ color: oklch(55.0% 0.134 132.4);
Tailwind
colors: {
  custom: {
    50: '#87a664',
    500: '#528122',
    950: '#000000',
  },
}
SCSS
$custom: #528122;
$custom-light: #87a664;
$custom-dark: #000000;
JSON
{
  "hex": "#528122",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 89.684,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.13417,
    "h": 132.4
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#528122
secondary
#7F4BB3
accent
#46E193
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528122

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

Preview Lab → · Contrast checker → · Palette generator →

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