#52842C#52842C

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

Color values

HEX#52842C
RGBrgb(82, 132, 44)
HSLhsl(94, 50%, 35%)
HSVhsv(94, 67%, 52%)
CMYKcmyk(37.9%, 0%, 66.7%, 48.2%)
CIE-LABlab(50.07, -32.67, 40.86)
CIE-LCHlch(50.07, 52.31, 128.64°)
OKLaboklab(55.85% -0.0911 0.094)
OKLCHoklch(55.85% 0.131 134.1)
XYZxyz(12.1853, 18.4777, 5.3069)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52842C #5E2C84
analogous
#7E842C #52842C #2C8432
triadic
#52842C #2C5284 #842C52
tetradic
#52842C #2C7E84 #5E2C84 #84322C
square
#52842C #2C7E84 #5E2C84 #84322C
split-complementary
#52842C #322C84 #842C7E
monochromatic
#19280D #35561D #52842C #6FB23B #8ECA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52842C#FFFFFF#000000##000000
##52842C1.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)
#897A21
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#527F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #52842c;
/* rgb */ color: rgb(82, 132, 44);
/* oklch */ color: oklch(55.9% 0.131 134.1);
Tailwind
colors: {
  custom: {
    50: '#86a869',
    500: '#52842c',
    950: '#000000',
  },
}
SCSS
$custom: #52842c;
$custom-light: #86a869;
$custom-dark: #000000;
JSON
{
  "hex": "#52842c",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 94.091,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55853,
    "c": 0.13089,
    "h": 134.1
  },
  "luminance": 0.18478
}

Semantic roles & 50–950 ramp

primary
#52842C
secondary
#8C5CB0
accent
#4EDA9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52842C

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

Preview Lab → · Contrast checker → · Palette generator →

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