#528128#528128

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

Color values

HEX#528128
RGBrgb(82, 129, 40)
HSLhsl(92, 53%, 33%)
HSVhsv(92, 69%, 51%)
CMYKcmyk(36.4%, 0%, 69%, 49.4%)
CIE-LABlab(49.07, -31.64, 41.55)
CIE-LCHlch(49.07, 52.22, 127.29°)
OKLaboklab(55.02% -0.0887 0.0949)
OKLCHoklch(55.02% 0.13 133.1)
XYZxyz(11.7128, 17.6471, 4.7962)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528128 #572881
analogous
#7E8128 #528128 #28812A
triadic
#528128 #285281 #812852
tetradic
#528128 #287E81 #572881 #812A28
square
#528128 #287E81 #572881 #812A28
split-complementary
#528128 #2A2881 #81287E
monochromatic
#17240B #34521A #528128 #70B036 #8ECB58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528128#FFFFFF#000000##FFFFFF
##5281281.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)
#86771C
Deuteranopia (green-blind)
#80732F
Tritanopia (blue-blind)
#527C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528128;
/* rgb */ color: rgb(82, 129, 40);
/* oklch */ color: oklch(55.0% 0.130 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a667',
    500: '#528128',
    950: '#000000',
  },
}
SCSS
$custom: #528128;
$custom-light: #86a667;
$custom-dark: #000000;
JSON
{
  "hex": "#528128",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 91.685,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.12985,
    "h": 133.1
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#528128
secondary
#8554B0
accent
#4CDC98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #528128

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

Preview Lab → · Contrast checker → · Palette generator →

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