#528D2E#528D2E

#528D2E is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.142 H 135.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#528D2E
RGBrgb(82, 141, 46)
HSLhsl(97, 51%, 37%)
HSVhsv(97, 67%, 55%)
CMYKcmyk(41.8%, 0%, 67.4%, 44.7%)
CIE-LABlab(52.99, -36.53, 43.13)
CIE-LCHlch(52.99, 56.52, 130.26°)
OKLaboklab(58.25% -0.1015 0.099)
OKLCHoklch(58.25% 0.142 135.7)
XYZxyz(13.4974, 21.0401, 5.9342)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D2E #692E8D
analogous
#828D2E #528D2E #2E8D3A
triadic
#528D2E #2E528D #8D2E52
tetradic
#528D2E #2E828D #692E8D #8D3A2E
square
#528D2E #2E828D #692E8D #8D3A2E
split-complementary
#528D2E #3A2E8D #8D2E82
monochromatic
#1C3110 #375F1F #528D2E #6DBB3D #8ECE68

Accessibility & contrast

On white

4.03
#528D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#528D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D2E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D2E#FFFFFF#000000##000000
##528D2E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#508879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d2e;
/* rgb */ color: rgb(82, 141, 46);
/* oklch */ color: oklch(58.2% 0.142 135.7);
Tailwind
colors: {
  custom: {
    50: '#87af6c',
    500: '#528d2e',
    950: '#000000',
  },
}
SCSS
$custom: #528d2e;
$custom-light: #87af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#528d2e",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 97.263,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.14177,
    "h": 135.7
  },
  "luminance": 0.21041
}

Semantic roles & 50–950 ramp

primary
#528D2E
secondary
#9562B5
accent
#4EDAA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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