#528D23#528D23

#528D23 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.149 H 134.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#528D23
RGBrgb(82, 141, 35)
HSLhsl(93, 60%, 35%)
HSVhsv(93, 75%, 55%)
CMYKcmyk(41.8%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.91, -37.40, 47.50)
CIE-LCHlch(52.91, 60.46, 128.21°)
OKLaboklab(58.15% -0.1047 0.1066)
OKLCHoklch(58.15% 0.149 134.5)
XYZxyz(13.3077, 20.9642, 4.9351)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D23 #5E238D
analogous
#878D23 #528D23 #238D29
triadic
#528D23 #23528D #8D2352
tetradic
#528D23 #23878D #5E238D #8D2923
square
#528D23 #23878D #5E238D #8D2923
split-complementary
#528D23 #29238D #8D2387
monochromatic
#192B0B #355C17 #528D23 #6FBE2F #8ED555

Accessibility & contrast

On white

4.04
#528D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#528D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D23
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D23#FFFFFF#000000##000000
##528D231.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810E
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#518779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d23;
/* rgb */ color: rgb(82, 141, 35);
/* oklch */ color: oklch(58.2% 0.149 134.5);
Tailwind
colors: {
  custom: {
    50: '#88af66',
    500: '#528d23',
    950: '#000000',
  },
}
SCSS
$custom: #528d23;
$custom-light: #88af66;
$custom-dark: #000000;
JSON
{
  "hex": "#528d23",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 93.396,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.14943,
    "h": 134.5
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

primary
#528D23
secondary
#8C53B9
accent
#44E39D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D23

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

Preview Lab → · Contrast checker → · Palette generator →

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