#528D1F#528D1F

#528D1F is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.152 H 134.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#528D1F
RGBrgb(82, 141, 31)
HSLhsl(92, 64%, 34%)
HSVhsv(92, 78%, 55%)
CMYKcmyk(41.8%, 0%, 78%, 44.7%)
CIE-LABlab(52.89, -37.65, 48.91)
CIE-LCHlch(52.89, 61.73, 127.59°)
OKLaboklab(58.13% -0.1057 0.109)
OKLCHoklch(58.13% 0.152 134.1)
XYZxyz(13.2516, 20.9418, 4.6400)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D1F #5A1F8D
analogous
#898D1F #528D1F #1F8D23
triadic
#528D1F #1F528D #8D1F52
tetradic
#528D1F #1F898D #5A1F8D #8D231F
square
#528D1F #1F898D #5A1F8D #8D231F
split-complementary
#528D1F #231F8D #8D1F89
monochromatic
#182909 #355B14 #528D1F #6FBF2A #8ED84E

Accessibility & contrast

On white

4.05
#528D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#528D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D1F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D1F#FFFFFF#000000##000000
##528D1F1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d1f;
/* rgb */ color: rgb(82, 141, 31);
/* oklch */ color: oklch(58.1% 0.152 134.1);
Tailwind
colors: {
  custom: {
    50: '#88af64',
    500: '#528d1f',
    950: '#000000',
  },
}
SCSS
$custom: #528d1f;
$custom-light: #88af64;
$custom-dark: #000000;
JSON
{
  "hex": "#528d1f",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 92.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58125,
    "c": 0.15177,
    "h": 134.1
  },
  "luminance": 0.20943
}

Semantic roles & 50–950 ramp

primary
#528D1F
secondary
#884DBB
accent
#41E79A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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