#528C2E#528C2E

#528C2E is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.0% C 0.140 H 135.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#528C2E
RGBrgb(82, 140, 46)
HSLhsl(97, 51%, 36%)
HSVhsv(97, 67%, 55%)
CMYKcmyk(41.4%, 0%, 67.1%, 45.1%)
CIE-LABlab(52.67, -36.09, 42.78)
CIE-LCHlch(52.67, 55.97, 130.15°)
OKLaboklab(57.98% -0.1003 0.0983)
OKLCHoklch(57.98% 0.14 135.6)
XYZxyz(13.3506, 20.7466, 5.8853)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C2E #682E8C
analogous
#818C2E #528C2E #2E8C39
triadic
#528C2E #2E528C #8C2E52
tetradic
#528C2E #2E818C #682E8C #8C392E
square
#528C2E #2E818C #682E8C #8C392E
split-complementary
#528C2E #392E8C #8C2E81
monochromatic
#1C3010 #375E1F #528C2E #6DBA3D #8ECD67

Accessibility & contrast

On white

4.08
#528C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#528C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C2E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C2E#FFFFFF#000000##000000
##528C2E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#508779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528c2e;
/* rgb */ color: rgb(82, 140, 46);
/* oklch */ color: oklch(58.0% 0.140 135.6);
Tailwind
colors: {
  custom: {
    50: '#87ae6b',
    500: '#528c2e',
    950: '#000000',
  },
}
SCSS
$custom: #528c2e;
$custom-light: #87ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#528c2e",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 97.021,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.1404,
    "h": 135.6
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#528C2E
secondary
#9562B4
accent
#4EDAA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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