#528F2D#528F2D

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

Color values

HEX#528F2D
RGBrgb(82, 143, 45)
HSLhsl(97, 52%, 37%)
HSVhsv(97, 69%, 56%)
CMYKcmyk(42.7%, 0%, 68.5%, 43.9%)
CIE-LABlab(53.63, -37.49, 44.24)
CIE-LCHlch(53.63, 57.99, 130.28°)
OKLaboklab(58.77% -0.1042 0.1012)
OKLCHoklch(58.77% 0.145 135.8)
XYZxyz(13.7754, 21.6275, 5.9308)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F2D #6A2D8F
analogous
#838F2D #528F2D #2D8F39
triadic
#528F2D #2D528F #8F2D52
tetradic
#528F2D #2D838F #6A2D8F #8F392D
square
#528F2D #2D838F #6A2D8F #8F392D
split-complementary
#528F2D #392D8F #8F2D83
monochromatic
#1D3210 #37601E #528F2D #6DBE3C #8ECF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528F2D#FFFFFF#000000##000000
##528F2D1.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)
#94831F
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#508A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f2d;
/* rgb */ color: rgb(82, 143, 45);
/* oklch */ color: oklch(58.8% 0.145 135.8);
Tailwind
colors: {
  custom: {
    50: '#88b06b',
    500: '#528f2d',
    950: '#000000',
  },
}
SCSS
$custom: #528f2d;
$custom-light: #88b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#528f2d",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 97.347,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.14524,
    "h": 135.8
  },
  "luminance": 0.21628
}

Semantic roles & 50–950 ramp

primary
#528F2D
secondary
#9662B6
accent
#4CDCA5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #528F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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