#528E1F#528E1F

#528E1F is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.153 H 134.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#528E1F
RGBrgb(82, 142, 31)
HSLhsl(92, 64%, 34%)
HSVhsv(92, 78%, 56%)
CMYKcmyk(42.3%, 0%, 78.2%, 44.3%)
CIE-LABlab(53.21, -38.09, 49.22)
CIE-LCHlch(53.21, 62.24, 127.73°)
OKLaboklab(58.39% -0.1068 0.1096)
OKLCHoklch(58.39% 0.153 134.3)
XYZxyz(13.3997, 21.2381, 4.6894)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E1F #5B1F8E
analogous
#8A8E1F #528E1F #1F8E23
triadic
#528E1F #1F528E #8E1F52
tetradic
#528E1F #1F8A8E #5B1F8E #8E231F
square
#528E1F #1F8A8E #5B1F8E #8E231F
split-complementary
#528E1F #231F8E #8E1F8A
monochromatic
#182A09 #355C14 #528E1F #6FC02A #8ED94F

Accessibility & contrast

On white

4.00
#528E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#528E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E1F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E1F#FFFFFF#000000##000000
##528E1F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948204
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e1f;
/* rgb */ color: rgb(82, 142, 31);
/* oklch */ color: oklch(58.4% 0.153 134.3);
Tailwind
colors: {
  custom: {
    50: '#88af64',
    500: '#528e1f',
    950: '#000000',
  },
}
SCSS
$custom: #528e1f;
$custom-light: #88af64;
$custom-dark: #000000;
JSON
{
  "hex": "#528e1f",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 92.432,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.15305,
    "h": 134.3
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#528E1F
secondary
#894DBB
accent
#41E79B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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