#528138#528138

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

Color values

HEX#528138
RGBrgb(82, 129, 56)
HSLhsl(99, 39%, 36%)
HSVhsv(99, 57%, 51%)
CMYKcmyk(36.4%, 0%, 56.6%, 49.4%)
CIE-LABlab(49.23, -30.02, 34.14)
CIE-LCHlch(49.23, 45.46, 131.32°)
OKLaboklab(55.21% -0.0829 0.0809)
OKLCHoklch(55.21% 0.116 135.7)
XYZxyz(12.0434, 17.7793, 6.5378)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528138 #673881
analogous
#778138 #528138 #388143
triadic
#528138 #385281 #813852
tetradic
#528138 #387781 #673881 #814338
square
#528138 #387781 #673881 #814338
split-complementary
#528138 #433881 #813877
monochromatic
#1C2C13 #375625 #528138 #6DAC4B #8EC272

Accessibility & contrast

On white

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

On black

4.56
#528138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##528138#FFFFFF#000000##FFFFFF
##5281381.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #528138;
/* rgb */ color: rgb(82, 129, 56);
/* oklch */ color: oklch(55.2% 0.116 135.7);
Tailwind
colors: {
  custom: {
    50: '#85a671',
    500: '#528138',
    950: '#000000',
  },
}
SCSS
$custom: #528138;
$custom-light: #85a671;
$custom-dark: #000000;
JSON
{
  "hex": "#528138",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 98.63,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55206,
    "c": 0.11584,
    "h": 135.7
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#528138
secondary
#946AAB
accent
#58CFA5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #528138

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

Preview Lab → · Contrast checker → · Palette generator →

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