#528C1F#528C1F

#528C1F is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.150 H 134.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#528C1F
RGBrgb(82, 140, 31)
HSLhsl(92, 64%, 34%)
HSVhsv(92, 78%, 55%)
CMYKcmyk(41.4%, 0%, 77.9%, 45.1%)
CIE-LABlab(52.56, -37.22, 48.60)
CIE-LCHlch(52.56, 61.22, 127.45°)
OKLaboklab(57.86% -0.1045 0.1083)
OKLCHoklch(57.86% 0.151 134)
XYZxyz(13.1048, 20.6483, 4.5911)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528C1F #591F8C
analogous
#888C1F #528C1F #1F8C23
triadic
#528C1F #1F528C #8C1F52
tetradic
#528C1F #1F888C #591F8C #8C231F
square
#528C1F #1F888C #591F8C #8C231F
split-complementary
#528C1F #231F8C #8C1F88
monochromatic
#172809 #355A14 #528C1F #6FBE2A #8ED84E

Accessibility & contrast

On white

4.09
#528C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#528C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528C1F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528C1F#FFFFFF#000000##000000
##528C1F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#528677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528c1f;
/* rgb */ color: rgb(82, 140, 31);
/* oklch */ color: oklch(57.9% 0.150 134.0);
Tailwind
colors: {
  custom: {
    50: '#88ae63',
    500: '#528c1f',
    950: '#000000',
  },
}
SCSS
$custom: #528c1f;
$custom-light: #88ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#528c1f",
  "rgb": {
    "r": 82,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 91.927,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.1505,
    "h": 134
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#528C1F
secondary
#874CBB
accent
#41E799
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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