#528F18#528F18

#528F18 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.158 H 133.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#528F18
RGBrgb(82, 143, 24)
HSLhsl(91, 71%, 33%)
HSVhsv(91, 83%, 56%)
CMYKcmyk(42.7%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.50, -38.89, 51.69)
CIE-LCHlch(53.50, 64.68, 126.96°)
OKLaboklab(58.61% -0.1094 0.1137)
OKLCHoklch(58.61% 0.158 133.9)
XYZxyz(13.4668, 21.5040, 4.3051)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F18 #55188F
analogous
#8D8F18 #528F18 #188F19
triadic
#528F18 #18528F #8F1852
tetradic
#528F18 #188D8F #55188F #8F1918
square
#528F18 #188D8F #55188F #8F1918
split-complementary
#528F18 #19188F #8F188D
monochromatic
#162606 #345B0F #528F18 #70C321 #8FDF42

Accessibility & contrast

On white

3.96
#528F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#528F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F18
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F18#FFFFFF#000000##000000
##528F181.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#51897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f18;
/* rgb */ color: rgb(82, 143, 24);
/* oklch */ color: oklch(58.6% 0.158 133.9);
Tailwind
colors: {
  custom: {
    50: '#89b061',
    500: '#528f18',
    950: '#000000',
  },
}
SCSS
$custom: #528f18;
$custom-light: #89b061;
$custom-dark: #000000;
JSON
{
  "hex": "#528f18",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 90.756,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.15781,
    "h": 133.9
  },
  "luminance": 0.21505
}

Semantic roles & 50–950 ramp

primary
#528F18
secondary
#8343C0
accent
#3AEE96
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528F18

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

Preview Lab → · Contrast checker → · Palette generator →

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