#528B2C#528B2C

#528B2C is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.141 H 135.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#528B2C
RGBrgb(82, 139, 44)
HSLhsl(96, 52%, 36%)
HSVhsv(96, 68%, 55%)
CMYKcmyk(41%, 0%, 68.3%, 45.5%)
CIE-LABlab(52.33, -35.82, 43.29)
CIE-LCHlch(52.33, 56.18, 129.61°)
OKLaboklab(57.7% -0.0997 0.0991)
OKLCHoklch(57.7% 0.141 135.2)
XYZxyz(13.1666, 20.4402, 5.6340)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B2C #652C8B
analogous
#818B2C #528B2C #2C8B35
triadic
#528B2C #2C528B #8B2C52
tetradic
#528B2C #2C818B #652C8B #8B352C
square
#528B2C #2C818B #652C8B #8B352C
split-complementary
#528B2C #352C8B #8B2C81
monochromatic
#1B2E0F #375D1D #528B2C #6DB93B #8ECE64

Accessibility & contrast

On white

4.13
#528B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#528B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B2C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B2C#FFFFFF#000000##000000
##528B2C1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#518678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b2c;
/* rgb */ color: rgb(82, 139, 44);
/* oklch */ color: oklch(57.7% 0.141 135.2);
Tailwind
colors: {
  custom: {
    50: '#87ad6a',
    500: '#528b2c',
    950: '#000000',
  },
}
SCSS
$custom: #528b2c;
$custom-light: #87ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#528b2c",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 96,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.577,
    "c": 0.14057,
    "h": 135.2
  },
  "luminance": 0.20441
}

Semantic roles & 50–950 ramp

primary
#528B2C
secondary
#925FB4
accent
#4CDBA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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