#528A2C#528A2C

#528A2C is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.139 H 135.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#528A2C
RGBrgb(82, 138, 44)
HSLhsl(96, 52%, 36%)
HSVhsv(96, 68%, 54%)
CMYKcmyk(40.6%, 0%, 68.1%, 45.9%)
CIE-LABlab(52.01, -35.38, 42.94)
CIE-LCHlch(52.01, 55.64, 129.48°)
OKLaboklab(57.44% -0.0985 0.0984)
OKLCHoklch(57.44% 0.139 135)
XYZxyz(13.0225, 20.1520, 5.5859)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A2C #642C8A
analogous
#818A2C #528A2C #2C8A35
triadic
#528A2C #2C528A #8A2C52
tetradic
#528A2C #2C818A #642C8A #8A352C
square
#528A2C #2C818A #642C8A #8A352C
split-complementary
#528A2C #352C8A #8A2C81
monochromatic
#1B2D0E #365C1D #528A2C #6EB83B #8ECD63

Accessibility & contrast

On white

4.17
#528A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#528A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A2C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A2C#FFFFFF#000000##000000
##528A2C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#518577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a2c;
/* rgb */ color: rgb(82, 138, 44);
/* oklch */ color: oklch(57.4% 0.139 135.0);
Tailwind
colors: {
  custom: {
    50: '#87ac6a',
    500: '#528a2c',
    950: '#000000',
  },
}
SCSS
$custom: #528a2c;
$custom-light: #87ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#528a2c",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 95.745,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.1392,
    "h": 135
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#528A2C
secondary
#915EB4
accent
#4DDBA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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