#528B1F#528B1F

#528B1F is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.149 H 133.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#528B1F
RGBrgb(82, 139, 31)
HSLhsl(92, 64%, 33%)
HSVhsv(92, 78%, 55%)
CMYKcmyk(41%, 0%, 77.7%, 45.5%)
CIE-LABlab(52.24, -36.79, 48.29)
CIE-LCHlch(52.24, 60.70, 127.30°)
OKLaboklab(57.6% -0.1033 0.1077)
OKLCHoklch(57.6% 0.149 133.8)
XYZxyz(12.9594, 20.3574, 4.5426)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B1F #581F8B
analogous
#888B1F #528B1F #1F8B22
triadic
#528B1F #1F528B #8B1F52
tetradic
#528B1F #1F888B #581F8B #8B221F
square
#528B1F #1F888B #581F8B #8B221F
split-complementary
#528B1F #221F8B #8B1F88
monochromatic
#172709 #345914 #528B1F #70BD2A #8ED74D

Accessibility & contrast

On white

4.14
#528B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#528B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B1F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B1F#FFFFFF#000000##000000
##528B1F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#528577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b1f;
/* rgb */ color: rgb(82, 139, 31);
/* oklch */ color: oklch(57.6% 0.149 133.8);
Tailwind
colors: {
  custom: {
    50: '#88ad63',
    500: '#528b1f',
    950: '#000000',
  },
}
SCSS
$custom: #528b1f;
$custom-light: #88ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#528b1f",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 91.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.14921,
    "h": 133.8
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#528B1F
secondary
#864CBA
accent
#41E798
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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