#528728#528728

#528728 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.6% C 0.138 H 134.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#528728
RGBrgb(82, 135, 40)
HSLhsl(93, 54%, 34%)
HSVhsv(93, 70%, 53%)
CMYKcmyk(39.3%, 0%, 70.4%, 47.1%)
CIE-LABlab(51.01, -34.37, 43.59)
CIE-LCHlch(51.01, 55.51, 128.26°)
OKLaboklab(56.61% -0.0961 0.0992)
OKLCHoklch(56.61% 0.138 134.1)
XYZxyz(12.5264, 19.2744, 5.0674)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528728 #5D2887
analogous
#828728 #528728 #28872E
triadic
#528728 #285287 #872852
tetradic
#528728 #288287 #5D2887 #872E28
square
#528728 #288287 #5D2887 #872E28
split-complementary
#528728 #2E2887 #872882
monochromatic
#19290C #35581A #528728 #6FB636 #8ECE5B

Accessibility & contrast

On white

4.33
#528728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#528728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528728
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528728#FFFFFF#000000##000000
##5287281.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#528274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #528728;
/* rgb */ color: rgb(82, 135, 40);
/* oklch */ color: oklch(56.6% 0.138 134.1);
Tailwind
colors: {
  custom: {
    50: '#87aa68',
    500: '#528728',
    950: '#000000',
  },
}
SCSS
$custom: #528728;
$custom-light: #87aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#528728",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 93.474,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.13809,
    "h": 134.1
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#528728
secondary
#8B57B4
accent
#4ADE9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528728

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

Preview Lab → · Contrast checker → · Palette generator →

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