#528F17#528F17

#528F17 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.158 H 133.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#528F17
RGBrgb(82, 143, 23)
HSLhsl(91, 72%, 33%)
HSVhsv(91, 84%, 56%)
CMYKcmyk(42.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.49, -38.94, 51.96)
CIE-LCHlch(53.49, 64.93, 126.85°)
OKLaboklab(58.61% -0.1096 0.1141)
OKLCHoklch(58.61% 0.158 133.9)
XYZxyz(13.4566, 21.4999, 4.2513)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F17 #54178F
analogous
#8E8F17 #528F17 #178F18
triadic
#528F17 #17528F #8F1752
tetradic
#528F17 #178E8F #54178F #8F1817
square
#528F17 #178E8F #54178F #8F1817
split-complementary
#528F17 #18178F #8F178E
monochromatic
#162606 #345A0F #528F17 #70C41F #8FE040

Accessibility & contrast

On white

3.96
#528F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#528F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F17
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F17#FFFFFF#000000##000000
##528F171.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#51897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f17;
/* rgb */ color: rgb(82, 143, 23);
/* oklch */ color: oklch(58.6% 0.158 133.9);
Tailwind
colors: {
  custom: {
    50: '#89b061',
    500: '#528f17',
    950: '#000000',
  },
}
SCSS
$custom: #528f17;
$custom-light: #89b061;
$custom-dark: #000000;
JSON
{
  "hex": "#528f17",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 90.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.15825,
    "h": 133.9
  },
  "luminance": 0.21501
}

Semantic roles & 50–950 ramp

primary
#528F17
secondary
#8241C1
accent
#39EF95
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528F17

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

Preview Lab → · Contrast checker → · Palette generator →

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