#52842D#52842D

#52842D is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.9% C 0.130 H 134.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#52842D
RGBrgb(82, 132, 45)
HSLhsl(94, 49%, 35%)
HSVhsv(94, 66%, 52%)
CMYKcmyk(37.9%, 0%, 65.9%, 48.2%)
CIE-LABlab(50.08, -32.58, 40.42)
CIE-LCHlch(50.08, 51.91, 128.87°)
OKLaboklab(55.86% -0.0908 0.0932)
OKLCHoklch(55.86% 0.13 134.3)
XYZxyz(12.2044, 18.4853, 5.4071)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52842D #5F2D84
analogous
#7E842D #52842D #2D8434
triadic
#52842D #2D5284 #842D52
tetradic
#52842D #2D7E84 #5F2D84 #84342D
square
#52842D #2D7E84 #5F2D84 #84342D
split-complementary
#52842D #342D84 #842D7E
monochromatic
#19290E #36561D #52842D #6EB23D #8EC962

Accessibility & contrast

On white

4.47
#52842D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#52842D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52842D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52842D#FFFFFF#000000##000000
##52842D1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A22
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#527F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #52842d;
/* rgb */ color: rgb(82, 132, 45);
/* oklch */ color: oklch(55.9% 0.130 134.3);
Tailwind
colors: {
  custom: {
    50: '#86a86a',
    500: '#52842d',
    950: '#000000',
  },
}
SCSS
$custom: #52842d;
$custom-light: #86a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#52842d",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 94.483,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.13009,
    "h": 134.3
  },
  "luminance": 0.18486
}

Semantic roles & 50–950 ramp

primary
#52842D
secondary
#8D5DB0
accent
#4FD99E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52842D

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

Preview Lab → · Contrast checker → · Palette generator →

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