#528231#528231

#528231 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.124 H 134.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#528231
RGBrgb(82, 130, 49)
HSLhsl(96, 45%, 35%)
HSVhsv(96, 62%, 51%)
CMYKcmyk(36.9%, 0%, 62.3%, 49%)
CIE-LABlab(49.47, -31.26, 37.88)
CIE-LCHlch(49.47, 49.11, 129.53°)
OKLaboklab(55.38% -0.0869 0.0882)
OKLCHoklch(55.38% 0.124 134.6)
XYZxyz(12.0164, 17.9803, 5.7425)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528231 #613182
analogous
#7A8231 #528231 #318239
triadic
#528231 #315282 #823152
tetradic
#528231 #317A82 #613182 #823931
square
#528231 #317A82 #613182 #823931
split-complementary
#528231 #393182 #82317A
monochromatic
#1A290F #365620 #528231 #6EAE42 #8EC668

Accessibility & contrast

On white

4.57
#528231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#528231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528231
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528231#FFFFFF#000000##000000
##5282311.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#517D71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #528231;
/* rgb */ color: rgb(82, 130, 49);
/* oklch */ color: oklch(55.4% 0.124 134.6);
Tailwind
colors: {
  custom: {
    50: '#86a66c',
    500: '#528231',
    950: '#000000',
  },
}
SCSS
$custom: #528231;
$custom-light: #86a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#528231",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 95.556,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.12383,
    "h": 134.6
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#528231
secondary
#8E62AD
accent
#53D5A0
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #528231

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

Preview Lab → · Contrast checker → · Palette generator →

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