#528F2F#528F2F

#528F2F is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.8% C 0.144 H 136.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#528F2F
RGBrgb(82, 143, 47)
HSLhsl(98, 51%, 37%)
HSVhsv(98, 67%, 56%)
CMYKcmyk(42.7%, 0%, 67.1%, 43.9%)
CIE-LABlab(53.65, -37.31, 43.39)
CIE-LCHlch(53.65, 57.23, 130.69°)
OKLaboklab(58.79% -0.1035 0.0997)
OKLCHoklch(58.79% 0.144 136.1)
XYZxyz(13.8149, 21.6432, 6.1384)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F2F #6C2F8F
analogous
#828F2F #528F2F #2F8F3C
triadic
#528F2F #2F528F #8F2F52
tetradic
#528F2F #2F828F #6C2F8F #8F3C2F
square
#528F2F #2F828F #6C2F8F #8F3C2F
split-complementary
#528F2F #3C2F8F #8F2F82
monochromatic
#1D3311 #386120 #528F2F #6CBD3E #8FCE6A

Accessibility & contrast

On white

3.94
#528F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#528F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F2F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F2F#FFFFFF#000000##000000
##528F2F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#508A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f2f;
/* rgb */ color: rgb(82, 143, 47);
/* oklch */ color: oklch(58.8% 0.144 136.1);
Tailwind
colors: {
  custom: {
    50: '#87b06c',
    500: '#528f2f',
    950: '#000000',
  },
}
SCSS
$custom: #528f2f;
$custom-light: #87b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#528f2f",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 98.125,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.14373,
    "h": 136.1
  },
  "luminance": 0.21644
}

Semantic roles & 50–950 ramp

primary
#528F2F
secondary
#9865B5
accent
#4EDAA7
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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