#528E2D#528E2D

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

Color values

HEX#528E2D
RGBrgb(82, 142, 45)
HSLhsl(97, 52%, 37%)
HSVhsv(97, 68%, 56%)
CMYKcmyk(42.3%, 0%, 68.3%, 44.3%)
CIE-LABlab(53.31, -37.05, 43.89)
CIE-LCHlch(53.31, 57.44, 130.17°)
OKLaboklab(58.5% -0.103 0.1005)
OKLCHoklch(58.5% 0.144 135.7)
XYZxyz(13.6260, 21.3286, 5.8810)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E2D #692D8E
analogous
#838E2D #528E2D #2D8E38
triadic
#528E2D #2D528E #8E2D52
tetradic
#528E2D #2D838E #692D8E #8E382D
square
#528E2D #2D838E #692D8E #8E382D
split-complementary
#528E2D #382D8E #8E2D83
monochromatic
#1C3110 #37601E #528E2D #6DBC3C #8ECF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528E2D#FFFFFF#000000##000000
##528E2D1.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)
#938220
Deuteranopia (green-blind)
#8B7D35
Tritanopia (blue-blind)
#50897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e2d;
/* rgb */ color: rgb(82, 142, 45);
/* oklch */ color: oklch(58.5% 0.144 135.7);
Tailwind
colors: {
  custom: {
    50: '#87af6b',
    500: '#528e2d',
    950: '#000000',
  },
}
SCSS
$custom: #528e2d;
$custom-light: #87af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#528e2d",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 97.113,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.14389,
    "h": 135.7
  },
  "luminance": 0.21329
}

Semantic roles & 50–950 ramp

primary
#528E2D
secondary
#9561B5
accent
#4CDBA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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