#528C31#528C31

#528C31 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.138 H 136.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#528C31
RGBrgb(82, 140, 49)
HSLhsl(98, 48%, 37%)
HSVhsv(98, 65%, 55%)
CMYKcmyk(41.4%, 0%, 65%, 45.1%)
CIE-LABlab(52.70, -35.80, 41.47)
CIE-LCHlch(52.70, 54.79, 130.81°)
OKLaboklab(58.01% -0.0993 0.0959)
OKLCHoklch(58.01% 0.138 136)
XYZxyz(13.4118, 20.7710, 6.2077)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C31 #6B318C
analogous
#808C31 #528C31 #318C3E
triadic
#528C31 #31528C #8C3152
tetradic
#528C31 #31808C #6B318C #8C3E31
square
#528C31 #31808C #6B318C #8C3E31
split-complementary
#528C31 #3E318C #8C3180
monochromatic
#1D3111 #375F21 #528C31 #6DB941 #8FCC6C

Accessibility & contrast

On white

4.07
#528C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#528C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C31
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C31#FFFFFF#000000##000000
##528C311.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#508779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c31;
/* rgb */ color: rgb(82, 140, 49);
/* oklch */ color: oklch(58.0% 0.138 136.0);
Tailwind
colors: {
  custom: {
    50: '#87ae6d',
    500: '#528c31',
    950: '#000000',
  },
}
SCSS
$custom: #528c31;
$custom-light: #87ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#528c31",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 98.242,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58014,
    "c": 0.13802,
    "h": 136
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#528C31
secondary
#9766B3
accent
#50D8A7
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528C31

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

Preview Lab → · Contrast checker → · Palette generator →

#528C31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva