#52881D#52881D

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

Color values

HEX#52881D
RGBrgb(82, 136, 29)
HSLhsl(90, 65%, 32%)
HSVhsv(90, 79%, 53%)
CMYKcmyk(39.7%, 0%, 78.7%, 46.7%)
CIE-LABlab(51.26, -35.59, 48.03)
CIE-LCHlch(51.26, 59.78, 126.54°)
OKLaboklab(56.79% -0.1002 0.1068)
OKLCHoklch(56.79% 0.146 133.2)
XYZxyz(12.5054, 19.4903, 4.2652)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52881D #531D88
analogous
#88881D #52881D #1D881D
triadic
#52881D #1D5288 #881D52
tetradic
#52881D #1D8888 #531D88 #881D1D
square
#52881D #1D8888 #531D88 #881D1D
split-complementary
#52881D #1D1D88 #881D88
monochromatic
#152307 #345612 #52881D #70BA28 #8FD848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52881D#FFFFFF#000000##000000
##52881D1.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)
#8E7D02
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#528274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52881d;
/* rgb */ color: rgb(82, 136, 29);
/* oklch */ color: oklch(56.8% 0.146 133.2);
Tailwind
colors: {
  custom: {
    50: '#88ab62',
    500: '#52881d',
    950: '#000000',
  },
}
SCSS
$custom: #52881d;
$custom-light: #88ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#52881d",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 90.28,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.14647,
    "h": 133.2
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#52881D
secondary
#8147BA
accent
#40E895
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52881D

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

Preview Lab → · Contrast checker → · Palette generator →

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