#528C17#528C17

#528C17 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.155 H 133.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#528C17
RGBrgb(82, 140, 23)
HSLhsl(90, 72%, 32%)
HSVhsv(90, 84%, 55%)
CMYKcmyk(41.4%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.52, -37.65, 51.09)
CIE-LCHlch(52.52, 63.46, 126.39°)
OKLaboklab(57.81% -0.1062 0.1123)
OKLCHoklch(57.81% 0.155 133.4)
XYZxyz(13.0122, 20.6112, 4.1032)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C17 #51178C
analogous
#8C8C17 #528C17 #178C17
triadic
#528C17 #17528C #8C1752
tetradic
#528C17 #178C8C #51178C #8C1717
square
#528C17 #178C8C #51178C #8C1717
split-complementary
#528C17 #17178C #8C178C
monochromatic
#142306 #33570E #528C17 #71C120 #8FDF3E

Accessibility & contrast

On white

4.10
#528C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#528C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C17
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C17#FFFFFF#000000##000000
##528C171.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#528677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528c17;
/* rgb */ color: rgb(82, 140, 23);
/* oklch */ color: oklch(57.8% 0.155 133.4);
Tailwind
colors: {
  custom: {
    50: '#88ae60',
    500: '#528c17',
    950: '#000000',
  },
}
SCSS
$custom: #528c17;
$custom-light: #88ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#528c17",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 89.744,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.15453,
    "h": 133.4
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

primary
#528C17
secondary
#7F3FBF
accent
#39EF93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528C17

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

Preview Lab → · Contrast checker → · Palette generator →

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