#528118#528118

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

Color values

HEX#528118
RGBrgb(82, 129, 24)
HSLhsl(87, 69%, 30%)
HSVhsv(87, 81%, 51%)
CMYKcmyk(36.4%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.96, -32.73, 47.52)
CIE-LCHlch(48.96, 57.70, 124.56°)
OKLaboklab(54.9% -0.0929 0.1049)
OKLCHoklch(54.9% 0.14 131.5)
XYZxyz(11.4947, 17.5598, 3.6477)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528118 #471881
analogous
#817B18 #528118 #1E8118
triadic
#528118 #185281 #811852
tetradic
#528118 #18817B #471881 #81181E
square
#528118 #18817B #471881 #81181E
split-complementary
#528118 #181E81 #7B1881
monochromatic
#101A05 #314D0E #528118 #73B522 #92DA39

Accessibility & contrast

On white

4.65
#528118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #528118
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528118#FFFFFF#000000##FFFFFF
##5281181.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #528118;
/* rgb */ color: rgb(82, 129, 24);
/* oklch */ color: oklch(54.9% 0.140 131.5);
Tailwind
colors: {
  custom: {
    50: '#87a65f',
    500: '#528118',
    950: '#000000',
  },
}
SCSS
$custom: #528118;
$custom-light: #87a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#528118",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 86.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.549,
    "c": 0.14011,
    "h": 131.5
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#528118
secondary
#7440B5
accent
#3CEB8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #528118

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

Preview Lab → · Contrast checker → · Palette generator →

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