#528B26#528B26

#528B26 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.145 H 134.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#528B26
RGBrgb(82, 139, 38)
HSLhsl(94, 57%, 35%)
HSVhsv(94, 73%, 55%)
CMYKcmyk(41%, 0%, 72.7%, 45.5%)
CIE-LABlab(52.28, -36.31, 45.72)
CIE-LCHlch(52.28, 58.38, 128.45°)
OKLaboklab(57.65% -0.1015 0.1034)
OKLCHoklch(57.65% 0.145 134.5)
XYZxyz(13.0619, 20.3983, 5.0824)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B26 #5F268B
analogous
#858B26 #528B26 #268B2C
triadic
#528B26 #26528B #8B2652
tetradic
#528B26 #26858B #5F268B #8B2C26
square
#528B26 #26858B #5F268B #8B2C26
split-complementary
#528B26 #2C268B #8B2685
monochromatic
#192B0C #365B19 #528B26 #6EBB33 #8ED25A

Accessibility & contrast

On white

4.13
#528B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#528B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B26
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B26#FFFFFF#000000##000000
##528B261.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908015
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#518677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b26;
/* rgb */ color: rgb(82, 139, 38);
/* oklch */ color: oklch(57.6% 0.145 134.5);
Tailwind
colors: {
  custom: {
    50: '#87ad67',
    500: '#528b26',
    950: '#000000',
  },
}
SCSS
$custom: #528b26;
$custom-light: #87ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#528b26",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 93.861,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.14486,
    "h": 134.5
  },
  "luminance": 0.20399
}

Semantic roles & 50–950 ramp

primary
#528B26
secondary
#8D56B7
accent
#47E09E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528B26

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

Preview Lab → · Contrast checker → · Palette generator →

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