#528B2E#528B2E

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

Color values

HEX#528B2E
RGBrgb(82, 139, 46)
HSLhsl(97, 50%, 36%)
HSVhsv(97, 67%, 55%)
CMYKcmyk(41%, 0%, 66.9%, 45.5%)
CIE-LABlab(52.35, -35.64, 42.43)
CIE-LCHlch(52.35, 55.41, 130.03°)
OKLaboklab(57.72% -0.0991 0.0975)
OKLCHoklch(57.72% 0.139 135.4)
XYZxyz(13.2051, 20.4556, 5.8368)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B2E #672E8B
analogous
#818B2E #528B2E #2E8B39
triadic
#528B2E #2E528B #8B2E52
tetradic
#528B2E #2E818B #672E8B #8B392E
square
#528B2E #2E818B #672E8B #8B392E
split-complementary
#528B2E #392E8B #8B2E81
monochromatic
#1C2F10 #375D1F #528B2E #6DB93D #8ECD67

Accessibility & contrast

On white

4.12
#528B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##528B2E#FFFFFF#000000##000000
##528B2E1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#508678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b2e;
/* rgb */ color: rgb(82, 139, 46);
/* oklch */ color: oklch(57.7% 0.139 135.4);
Tailwind
colors: {
  custom: {
    50: '#87ad6b',
    500: '#528b2e',
    950: '#000000',
  },
}
SCSS
$custom: #528b2e;
$custom-light: #87ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#528b2e",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 96.774,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.13904,
    "h": 135.4
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#528B2E
secondary
#9461B3
accent
#4EDAA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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