#528126#528126

#528126 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.131 H 132.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#528126
RGBrgb(82, 129, 38)
HSLhsl(91, 54%, 33%)
HSVhsv(91, 71%, 51%)
CMYKcmyk(36.4%, 0%, 70.5%, 49.4%)
CIE-LABlab(49.05, -31.80, 42.39)
CIE-LCHlch(49.05, 52.99, 126.88°)
OKLaboklab(55% -0.0893 0.0964)
OKLCHoklch(55% 0.131 132.8)
XYZxyz(11.6796, 17.6338, 4.6216)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528126 #552681
analogous
#7F8126 #528126 #268127
triadic
#528126 #265281 #812652
tetradic
#528126 #267F81 #552681 #812726
square
#528126 #267F81 #552681 #812726
split-complementary
#528126 #272681 #81267F
monochromatic
#16220A #345218 #528126 #70B034 #8FCD55

Accessibility & contrast

On white

4.64
#528126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#528126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #528126
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528126#FFFFFF#000000##FFFFFF
##5281261.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867719
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#537C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #528126;
/* rgb */ color: rgb(82, 129, 38);
/* oklch */ color: oklch(55.0% 0.131 132.8);
Tailwind
colors: {
  custom: {
    50: '#86a666',
    500: '#528126',
    950: '#000000',
  },
}
SCSS
$custom: #528126;
$custom-light: #86a666;
$custom-dark: #000000;
JSON
{
  "hex": "#528126",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 90.989,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.13136,
    "h": 132.8
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#528126
secondary
#8351B1
accent
#4ADE96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #528126

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

Preview Lab → · Contrast checker → · Palette generator →

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