#528E2B#528E2B

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

Color values

HEX#528E2B
RGBrgb(82, 142, 43)
HSLhsl(96, 54%, 36%)
HSVhsv(96, 70%, 56%)
CMYKcmyk(42.3%, 0%, 69.7%, 44.3%)
CIE-LABlab(53.29, -37.22, 44.72)
CIE-LCHlch(53.29, 58.19, 129.77°)
OKLaboklab(58.48% -0.1036 0.102)
OKLCHoklch(58.48% 0.145 135.5)
XYZxyz(13.5884, 21.3135, 5.6830)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E2B #672B8E
analogous
#848E2B #528E2B #2B8E36
triadic
#528E2B #2B528E #8E2B52
tetradic
#528E2B #2B848E #672B8E #8E362B
square
#528E2B #2B848E #672B8E #8E362B
split-complementary
#528E2B #362B8E #8E2B84
monochromatic
#1C300F #375F1D #528E2B #6DBD39 #8ED063

Accessibility & contrast

On white

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

On black

5.26
#528E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E2B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E2B#FFFFFF#000000##000000
##528E2B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#50897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e2b;
/* rgb */ color: rgb(82, 142, 43);
/* oklch */ color: oklch(58.5% 0.145 135.5);
Tailwind
colors: {
  custom: {
    50: '#88af6a',
    500: '#528e2b',
    950: '#000000',
  },
}
SCSS
$custom: #528e2b;
$custom-light: #88af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#528e2b",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 96.364,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.14537,
    "h": 135.5
  },
  "luminance": 0.21314
}

Semantic roles & 50–950 ramp

primary
#528E2B
secondary
#945FB6
accent
#4BDDA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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