#528117#528117

#528117 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.141 H 131.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#528117
RGBrgb(82, 129, 23)
HSLhsl(87, 70%, 30%)
HSVhsv(87, 82%, 51%)
CMYKcmyk(36.4%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.95, -32.78, 47.83)
CIE-LCHlch(48.95, 57.99, 124.42°)
OKLaboklab(54.89% -0.0931 0.1054)
OKLCHoklch(54.89% 0.141 131.4)
XYZxyz(11.4845, 17.5558, 3.5939)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528117 #461781
analogous
#817B17 #528117 #1D8117
triadic
#528117 #175281 #811752
tetradic
#528117 #17817B #461781 #81171D
square
#528117 #17817B #461781 #81171D
split-complementary
#528117 #171D81 #7B1781
monochromatic
#111A05 #314D0E #528117 #73B520 #92DB37

Accessibility & contrast

On white

4.66
#528117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#528117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528117
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528117#FFFFFF#000000##FFFFFF
##5281171.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#537B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #528117;
/* rgb */ color: rgb(82, 129, 23);
/* oklch */ color: oklch(54.9% 0.141 131.4);
Tailwind
colors: {
  custom: {
    50: '#87a65e',
    500: '#528117',
    950: '#000000',
  },
}
SCSS
$custom: #528117;
$custom-light: #87a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#528117",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 86.604,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54894,
    "c": 0.14062,
    "h": 131.4
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#528117
secondary
#733EB5
accent
#3BED8A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #528117

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

Preview Lab → · Contrast checker → · Palette generator →

#528117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva