#528E23#528E23

#528E23 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.151 H 134.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#528E23
RGBrgb(82, 142, 35)
HSLhsl(94, 60%, 35%)
HSVhsv(94, 75%, 56%)
CMYKcmyk(42.3%, 0%, 75.4%, 44.3%)
CIE-LABlab(53.23, -37.83, 47.82)
CIE-LCHlch(53.23, 60.98, 128.34°)
OKLaboklab(58.42% -0.1058 0.1073)
OKLCHoklch(58.42% 0.151 134.6)
XYZxyz(13.4558, 21.2605, 4.9845)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E23 #5F238E
analogous
#888E23 #528E23 #238E2A
triadic
#528E23 #23528E #8E2352
tetradic
#528E23 #23888E #5F238E #8E2A23
square
#528E23 #23888E #5F238E #8E2A23
split-complementary
#528E23 #2A238E #8E2388
monochromatic
#192C0B #365D17 #528E23 #6EBF2F #8ED556

Accessibility & contrast

On white

4.00
#528E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#528E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E23
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E23#FFFFFF#000000##000000
##528E231.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820E
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e23;
/* rgb */ color: rgb(82, 142, 35);
/* oklch */ color: oklch(58.4% 0.151 134.6);
Tailwind
colors: {
  custom: {
    50: '#88af66',
    500: '#528e23',
    950: '#000000',
  },
}
SCSS
$custom: #528e23;
$custom-light: #88af66;
$custom-dark: #000000;
JSON
{
  "hex": "#528e23",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 93.645,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58417,
    "c": 0.15072,
    "h": 134.6
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#528E23
secondary
#8D53B9
accent
#44E49E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528E23

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

Preview Lab → · Contrast checker → · Palette generator →

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