#528137#528137

#528137 is a mid, moderate yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.117 H 135.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#528137
RGBrgb(82, 129, 55)
HSLhsl(98, 40%, 36%)
HSVhsv(98, 57%, 51%)
CMYKcmyk(36.4%, 0%, 57.4%, 49.4%)
CIE-LABlab(49.22, -30.14, 34.64)
CIE-LCHlch(49.22, 45.91, 131.02°)
OKLaboklab(55.19% -0.0833 0.0819)
OKLCHoklch(55.19% 0.117 135.5)
XYZxyz(12.0192, 17.7697, 6.4103)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528137 #663781
analogous
#778137 #528137 #378141
triadic
#528137 #375281 #813752
tetradic
#528137 #377781 #663781 #814137
square
#528137 #377781 #663781 #814137
split-complementary
#528137 #413781 #813777
monochromatic
#1B2B12 #375625 #528137 #6DAC49 #8EC270

Accessibility & contrast

On white

4.61
#528137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#528137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528137
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528137#FFFFFF#000000##FFFFFF
##5281371.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#7F743C
Tritanopia (blue-blind)
#517D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528137;
/* rgb */ color: rgb(82, 129, 55);
/* oklch */ color: oklch(55.2% 0.117 135.5);
Tailwind
colors: {
  custom: {
    50: '#86a670',
    500: '#528137',
    950: '#000000',
  },
}
SCSS
$custom: #528137;
$custom-light: #86a670;
$custom-dark: #000000;
JSON
{
  "hex": "#528137",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 98.108,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55193,
    "c": 0.11681,
    "h": 135.5
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#528137
secondary
#9369AB
accent
#58D0A4
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #528137

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

Preview Lab → · Contrast checker → · Palette generator →

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