#528E2E#528E2E

#528E2E is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.143 H 135.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#528E2E
RGBrgb(82, 142, 46)
HSLhsl(98, 51%, 37%)
HSVhsv(98, 68%, 56%)
CMYKcmyk(42.3%, 0%, 67.6%, 44.3%)
CIE-LABlab(53.32, -36.96, 43.47)
CIE-LCHlch(53.32, 57.06, 130.37°)
OKLaboklab(58.51% -0.1027 0.0997)
OKLCHoklch(58.51% 0.143 135.8)
XYZxyz(13.6455, 21.3364, 5.9836)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E2E #6A2E8E
analogous
#828E2E #528E2E #2E8E3A
triadic
#528E2E #2E528E #8E2E52
tetradic
#528E2E #2E828E #6A2E8E #8E3A2E
square
#528E2E #2E828E #6A2E8E #8E3A2E
split-complementary
#528E2E #3A2E8E #8E2E82
monochromatic
#1D3210 #37601F #528E2E #6DBC3D #8ECE68

Accessibility & contrast

On white

3.99
#528E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#528E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E2E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E2E#FFFFFF#000000##000000
##528E2E1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938221
Deuteranopia (green-blind)
#8B7D36
Tritanopia (blue-blind)
#50897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e2e;
/* rgb */ color: rgb(82, 142, 46);
/* oklch */ color: oklch(58.5% 0.143 135.8);
Tailwind
colors: {
  custom: {
    50: '#87af6c',
    500: '#528e2e',
    950: '#000000',
  },
}
SCSS
$custom: #528e2e;
$custom-light: #87af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#528e2e",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 97.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.14313,
    "h": 135.8
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

primary
#528E2E
secondary
#9663B5
accent
#4DDBA6
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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