#528125#528125

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

Color values

HEX#528125
RGBrgb(82, 129, 37)
HSLhsl(91, 55%, 33%)
HSVhsv(91, 71%, 51%)
CMYKcmyk(36.4%, 0%, 71.3%, 49.4%)
CIE-LABlab(49.04, -31.88, 42.80)
CIE-LCHlch(49.04, 53.37, 126.68°)
OKLaboklab(55% -0.0896 0.0971)
OKLCHoklch(55% 0.132 132.7)
XYZxyz(11.6637, 17.6274, 4.5378)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528125 #542581
analogous
#808125 #528125 #258126
triadic
#528125 #255281 #812552
tetradic
#528125 #258081 #542581 #812625
square
#528125 #258081 #542581 #812625
split-complementary
#528125 #262581 #812580
monochromatic
#16220A #345117 #528125 #70B133 #8FCE53

Accessibility & contrast

On white

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

On black

4.53
#528125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##528125#FFFFFF#000000##FFFFFF
##5281251.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867717
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#537C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528125;
/* rgb */ color: rgb(82, 129, 37);
/* oklch */ color: oklch(55.0% 0.132 132.7);
Tailwind
colors: {
  custom: {
    50: '#86a665',
    500: '#528125',
    950: '#000000',
  },
}
SCSS
$custom: #528125;
$custom-light: #86a665;
$custom-dark: #000000;
JSON
{
  "hex": "#528125",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 90.652,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.13209,
    "h": 132.7
  },
  "luminance": 0.17628
}

Semantic roles & 50–950 ramp

primary
#528125
secondary
#8250B2
accent
#49DF96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528125

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

Preview Lab → · Contrast checker → · Palette generator →

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