#52841D#52841D

#52841D is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.141 H 132.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#52841D
RGBrgb(82, 132, 29)
HSLhsl(89, 64%, 32%)
HSVhsv(89, 78%, 52%)
CMYKcmyk(37.9%, 0%, 78%, 48.2%)
CIE-LABlab(49.96, -33.81, 46.79)
CIE-LCHlch(49.96, 57.73, 125.85°)
OKLaboklab(55.73% -0.0954 0.1042)
OKLCHoklch(55.73% 0.141 132.5)
XYZxyz(11.9526, 18.3846, 4.0810)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52841D #4F1D84
analogous
#84831D #52841D #1F841D
triadic
#52841D #1D5284 #841D52
tetradic
#52841D #1D8483 #4F1D84 #841D1F
square
#52841D #1D8483 #4F1D84 #841D1F
split-complementary
#52841D #1D1F84 #831D84
monochromatic
#142007 #335212 #52841D #71B628 #90D645

Accessibility & contrast

On white

4.49
#52841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#52841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52841D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52841D#FFFFFF#000000##000000
##52841D1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7905
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#537E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #52841d;
/* rgb */ color: rgb(82, 132, 29);
/* oklch */ color: oklch(55.7% 0.141 132.5);
Tailwind
colors: {
  custom: {
    50: '#87a861',
    500: '#52841d',
    950: '#000000',
  },
}
SCSS
$custom: #52841d;
$custom-light: #87a861;
$custom-dark: #000000;
JSON
{
  "hex": "#52841d",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 89.126,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.14128,
    "h": 132.5
  },
  "luminance": 0.18385
}

Semantic roles & 50–950 ramp

primary
#52841D
secondary
#7D46B7
accent
#41E791
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52841D

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

Preview Lab → · Contrast checker → · Palette generator →

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