#52881C#52881C

#52881C is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.8% C 0.147 H 133.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#52881C
RGBrgb(82, 136, 28)
HSLhsl(90, 66%, 32%)
HSVhsv(90, 79%, 53%)
CMYKcmyk(39.7%, 0%, 79.4%, 46.7%)
CIE-LABlab(51.25, -35.65, 48.37)
CIE-LCHlch(51.25, 60.08, 126.39°)
OKLaboklab(56.78% -0.1005 0.1073)
OKLCHoklch(56.78% 0.147 133.1)
XYZxyz(12.4933, 19.4854, 4.2012)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52881C #521C88
analogous
#88881C #52881C #1C881C
triadic
#52881C #1C5288 #881C52
tetradic
#52881C #1C8888 #521C88 #881C1C
square
#52881C #1C8888 #521C88 #881C1C
split-complementary
#52881C #1C1C88 #881C88
monochromatic
#152207 #335512 #52881C #71BB26 #8FD946

Accessibility & contrast

On white

4.29
#52881C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#52881C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52881C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52881C#FFFFFF#000000##000000
##52881C1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#528274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52881c;
/* rgb */ color: rgb(82, 136, 28);
/* oklch */ color: oklch(56.8% 0.147 133.1);
Tailwind
colors: {
  custom: {
    50: '#88ab62',
    500: '#52881c',
    950: '#000000',
  },
}
SCSS
$custom: #52881c;
$custom-light: #88ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#52881c",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56781,
    "c": 0.14702,
    "h": 133.1
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#52881C
secondary
#8045BA
accent
#3FE994
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52881C

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

Preview Lab → · Contrast checker → · Palette generator →

#52881C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva