#528A1F#528A1F

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

Color values

HEX#528A1F
RGBrgb(82, 138, 31)
HSLhsl(91, 63%, 33%)
HSVhsv(91, 78%, 54%)
CMYKcmyk(40.6%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.92, -36.35, 47.98)
CIE-LCHlch(51.92, 60.19, 127.15°)
OKLaboklab(57.33% -0.1021 0.107)
OKLCHoklch(57.33% 0.148 133.7)
XYZxyz(12.8153, 20.0691, 4.4945)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A1F #571F8A
analogous
#878A1F #528A1F #1F8A21
triadic
#528A1F #1F528A #8A1F52
tetradic
#528A1F #1F878A #571F8A #8A211F
square
#528A1F #1F878A #571F8A #8A211F
split-complementary
#528A1F #211F8A #8A1F87
monochromatic
#172609 #345814 #528A1F #70BC2A #8ED74C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528A1F#FFFFFF#000000##000000
##528A1F1.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)
#907F06
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#528476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a1f;
/* rgb */ color: rgb(82, 138, 31);
/* oklch */ color: oklch(57.3% 0.148 133.7);
Tailwind
colors: {
  custom: {
    50: '#88ac63',
    500: '#528a1f',
    950: '#000000',
  },
}
SCSS
$custom: #528a1f;
$custom-light: #88ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#528a1f",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 91.402,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.14792,
    "h": 133.7
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#528A1F
secondary
#854BBA
accent
#41E698
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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