#528A1C#528A1C

#528A1C is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.150 H 133.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#528A1C
RGBrgb(82, 138, 28)
HSLhsl(91, 66%, 33%)
HSVhsv(91, 80%, 54%)
CMYKcmyk(40.6%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.90, -36.53, 48.98)
CIE-LCHlch(51.90, 61.10, 126.71°)
OKLaboklab(57.31% -0.1028 0.1086)
OKLCHoklch(57.31% 0.15 133.4)
XYZxyz(12.7776, 20.0540, 4.2959)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A1C #541C8A
analogous
#898A1C #528A1C #1C8A1D
triadic
#528A1C #1C528A #8A1C52
tetradic
#528A1C #1C898A #541C8A #8A1D1C
square
#528A1C #1C898A #541C8A #8A1D1C
split-complementary
#528A1C #1D1C8A #8A1C89
monochromatic
#162407 #345712 #528A1C #70BD26 #8FDA47

Accessibility & contrast

On white

4.19
#528A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#528A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A1C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A1C#FFFFFF#000000##000000
##528A1C1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#528476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a1c;
/* rgb */ color: rgb(82, 138, 28);
/* oklch */ color: oklch(57.3% 0.150 133.4);
Tailwind
colors: {
  custom: {
    50: '#88ac62',
    500: '#528a1c',
    950: '#000000',
  },
}
SCSS
$custom: #528a1c;
$custom-light: #88ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#528a1c",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 90.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.14957,
    "h": 133.4
  },
  "luminance": 0.20055
}

Semantic roles & 50–950 ramp

primary
#528A1C
secondary
#8246BB
accent
#3FE995
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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