#52842B#52842B

#52842B is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.132 H 134.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#52842B
RGBrgb(82, 132, 43)
HSLhsl(94, 51%, 34%)
HSVhsv(94, 67%, 52%)
CMYKcmyk(37.9%, 0%, 67.4%, 48.2%)
CIE-LABlab(50.06, -32.76, 41.29)
CIE-LCHlch(50.06, 52.71, 128.42°)
OKLaboklab(55.84% -0.0915 0.0948)
OKLCHoklch(55.84% 0.132 134)
XYZxyz(12.1668, 18.4702, 5.2091)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52842B #5D2B84
analogous
#7F842B #52842B #2B8431
triadic
#52842B #2B5284 #842B52
tetradic
#52842B #2B7F84 #5D2B84 #84312B
square
#52842B #2B7F84 #5D2B84 #84312B
split-complementary
#52842B #312B84 #842B7F
monochromatic
#19280D #35561C #52842B #6FB23A #8ECB5F

Accessibility & contrast

On white

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

On black

4.69
#52842B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52842B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52842B#FFFFFF#000000##000000
##52842B1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52842b;
/* rgb */ color: rgb(82, 132, 43);
/* oklch */ color: oklch(55.8% 0.132 134.0);
Tailwind
colors: {
  custom: {
    50: '#86a869',
    500: '#52842b',
    950: '#000000',
  },
}
SCSS
$custom: #52842b;
$custom-light: #86a869;
$custom-dark: #000000;
JSON
{
  "hex": "#52842b",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 93.708,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.13169,
    "h": 134
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#52842B
secondary
#8B5AB1
accent
#4DDA9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #52842B

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

Preview Lab → · Contrast checker → · Palette generator →

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