#528124#528124

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

Color values

HEX#528124
RGBrgb(82, 129, 36)
HSLhsl(90, 56%, 32%)
HSVhsv(90, 72%, 51%)
CMYKcmyk(36.4%, 0%, 72.1%, 49.4%)
CIE-LABlab(49.03, -31.96, 43.20)
CIE-LCHlch(49.03, 53.74, 126.49°)
OKLaboklab(54.99% -0.0899 0.0978)
OKLCHoklch(54.99% 0.133 132.6)
XYZxyz(11.6482, 17.6212, 4.4562)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528124 #532481
analogous
#808124 #528124 #248125
triadic
#528124 #245281 #812452
tetradic
#528124 #248081 #532481 #812524
square
#528124 #248081 #532481 #812524
split-complementary
#528124 #252481 #812480
monochromatic
#152109 #345117 #528124 #70B131 #8FCE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528124#FFFFFF#000000##FFFFFF
##5281241.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)
#867715
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#537C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #528124;
/* rgb */ color: rgb(82, 129, 36);
/* oklch */ color: oklch(55.0% 0.133 132.6);
Tailwind
colors: {
  custom: {
    50: '#87a665',
    500: '#528124',
    950: '#000000',
  },
}
SCSS
$custom: #528124;
$custom-light: #87a665;
$custom-dark: #000000;
JSON
{
  "hex": "#528124",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 90.323,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54986,
    "c": 0.1328,
    "h": 132.6
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#528124
secondary
#814EB2
accent
#48E095
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528124

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

Preview Lab → · Contrast checker → · Palette generator →

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