#528B18#528B18

#528B18 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.6% C 0.153 H 133.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#528B18
RGBrgb(82, 139, 24)
HSLhsl(90, 71%, 32%)
HSVhsv(90, 83%, 55%)
CMYKcmyk(41%, 0%, 82.7%, 45.5%)
CIE-LABlab(52.20, -37.17, 50.51)
CIE-LCHlch(52.20, 62.71, 126.35°)
OKLaboklab(57.55% -0.1048 0.1112)
OKLCHoklch(57.55% 0.153 133.3)
XYZxyz(12.8770, 20.3244, 4.1085)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B18 #51188B
analogous
#8B8B18 #528B18 #198B18
triadic
#528B18 #18528B #8B1852
tetradic
#528B18 #188B8B #51188B #8B1819
square
#528B18 #188B8B #51188B #8B1819
split-complementary
#528B18 #18198B #8B188B
monochromatic
#142306 #33570F #528B18 #71BF21 #8FDE3F

Accessibility & contrast

On white

4.15
#528B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#528B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B18
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B18#FFFFFF#000000##000000
##528B181.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#528576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528b18;
/* rgb */ color: rgb(82, 139, 24);
/* oklch */ color: oklch(57.6% 0.153 133.3);
Tailwind
colors: {
  custom: {
    50: '#88ad60',
    500: '#528b18',
    950: '#000000',
  },
}
SCSS
$custom: #528b18;
$custom-light: #88ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#528b18",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 89.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57553,
    "c": 0.15282,
    "h": 133.3
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#528B18
secondary
#7F40BE
accent
#3AED93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528B18

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

Preview Lab → · Contrast checker → · Palette generator →

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