#528131#528131

#528131 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.122 H 134.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#528131
RGBrgb(82, 129, 49)
HSLhsl(95, 45%, 35%)
HSVhsv(95, 62%, 51%)
CMYKcmyk(36.4%, 0%, 62%, 49.4%)
CIE-LABlab(49.15, -30.79, 37.52)
CIE-LCHlch(49.15, 48.54, 129.38°)
OKLaboklab(55.12% -0.0856 0.0875)
OKLCHoklch(55.12% 0.122 134.4)
XYZxyz(11.8841, 17.7156, 5.6984)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528131 #603181
analogous
#7A8131 #528131 #318138
triadic
#528131 #315281 #813152
tetradic
#528131 #317A81 #603181 #813831
square
#528131 #317A81 #603181 #813831
split-complementary
#528131 #383181 #81317A
monochromatic
#1A280F #365520 #528131 #6EAD42 #8EC567

Accessibility & contrast

On white

4.62
#528131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#528131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528131
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528131#FFFFFF#000000##FFFFFF
##5281311.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#527C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528131;
/* rgb */ color: rgb(82, 129, 49);
/* oklch */ color: oklch(55.1% 0.122 134.4);
Tailwind
colors: {
  custom: {
    50: '#86a66c',
    500: '#528131',
    950: '#000000',
  },
}
SCSS
$custom: #528131;
$custom-light: #86a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#528131",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 95.25,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.12237,
    "h": 134.4
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#528131
secondary
#8E61AD
accent
#53D59F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #528131

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

Preview Lab → · Contrast checker → · Palette generator →

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