#528E2F#528E2F

#528E2F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.142 H 136.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#528E2F
RGBrgb(82, 142, 47)
HSLhsl(98, 50%, 37%)
HSVhsv(98, 67%, 56%)
CMYKcmyk(42.3%, 0%, 66.9%, 44.3%)
CIE-LABlab(53.32, -36.87, 43.04)
CIE-LCHlch(53.32, 56.68, 130.58°)
OKLaboklab(58.52% -0.1023 0.099)
OKLCHoklch(58.52% 0.142 136)
XYZxyz(13.6654, 21.3443, 6.0886)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E2F #6B2F8E
analogous
#828E2F #528E2F #2F8E3C
triadic
#528E2F #2F528E #8E2F52
tetradic
#528E2F #2F828E #6B2F8E #8E3C2F
square
#528E2F #2F828E #6B2F8E #8E3C2F
split-complementary
#528E2F #3C2F8E #8E2F82
monochromatic
#1D3211 #376020 #528E2F #6DBC3E #8FCE6A

Accessibility & contrast

On white

3.99
#528E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#528E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E2F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E2F#FFFFFF#000000##000000
##528E2F1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938323
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#50897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e2f;
/* rgb */ color: rgb(82, 142, 47);
/* oklch */ color: oklch(58.5% 0.142 136.0);
Tailwind
colors: {
  custom: {
    50: '#87af6c',
    500: '#528e2f',
    950: '#000000',
  },
}
SCSS
$custom: #528e2f;
$custom-light: #87af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#528e2f",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 97.895,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.14237,
    "h": 136
  },
  "luminance": 0.21345
}

Semantic roles & 50–950 ramp

primary
#528E2F
secondary
#9764B5
accent
#4EDAA6
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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