#52841E#52841E

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

Color values

HEX#52841E
RGBrgb(82, 132, 30)
HSLhsl(89, 63%, 32%)
HSVhsv(89, 77%, 52%)
CMYKcmyk(37.9%, 0%, 77.3%, 48.2%)
CIE-LABlab(49.97, -33.74, 46.44)
CIE-LCHlch(49.97, 57.41, 126.00°)
OKLaboklab(55.73% -0.0952 0.1036)
OKLCHoklch(55.73% 0.141 132.6)
XYZxyz(11.9651, 18.3896, 4.1472)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52841E #501E84
analogous
#84831E #52841E #1F841E
triadic
#52841E #1E5284 #841E52
tetradic
#52841E #1E8483 #501E84 #841E1F
square
#52841E #1E8483 #501E84 #841E1F
split-complementary
#52841E #1E1F84 #831E84
monochromatic
#142007 #335213 #52841E #71B629 #90D547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52841E#FFFFFF#000000##000000
##52841E1.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)
#8A7907
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#537E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #52841e;
/* rgb */ color: rgb(82, 132, 30);
/* oklch */ color: oklch(55.7% 0.141 132.6);
Tailwind
colors: {
  custom: {
    50: '#87a862',
    500: '#52841e',
    950: '#000000',
  },
}
SCSS
$custom: #52841e;
$custom-light: #87a862;
$custom-dark: #000000;
JSON
{
  "hex": "#52841e",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 89.412,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.1407,
    "h": 132.6
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

primary
#52841E
secondary
#7E47B7
accent
#42E692
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52841E

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

Preview Lab → · Contrast checker → · Palette generator →

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