#52862C#52862C

#52862C is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.4% C 0.134 H 134.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#52862C
RGBrgb(82, 134, 44)
HSLhsl(95, 51%, 35%)
HSVhsv(95, 67%, 53%)
CMYKcmyk(38.8%, 0%, 67.2%, 47.5%)
CIE-LABlab(50.72, -33.58, 41.56)
CIE-LCHlch(50.72, 53.43, 128.94°)
OKLaboklab(56.38% -0.0936 0.0954)
OKLCHoklch(56.38% 0.134 134.4)
XYZxyz(12.4591, 19.0253, 5.3982)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52862C #602C86
analogous
#7F862C #52862C #2C8633
triadic
#52862C #2C5286 #862C52
tetradic
#52862C #2C7F86 #602C86 #86332C
square
#52862C #2C7F86 #602C86 #86332C
split-complementary
#52862C #332C86 #862C7F
monochromatic
#1A2A0E #36581D #52862C #6EB43B #8ECB61

Accessibility & contrast

On white

4.37
#52862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#52862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52862C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52862C#FFFFFF#000000##000000
##52862C1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#518173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52862c;
/* rgb */ color: rgb(82, 134, 44);
/* oklch */ color: oklch(56.4% 0.134 134.4);
Tailwind
colors: {
  custom: {
    50: '#87a96a',
    500: '#52862c',
    950: '#000000',
  },
}
SCSS
$custom: #52862c;
$custom-light: #87a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#52862c",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 94.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.13369,
    "h": 134.4
  },
  "luminance": 0.19026
}

Semantic roles & 50–950 ramp

primary
#52862C
secondary
#8E5CB1
accent
#4EDA9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52862C

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

Preview Lab → · Contrast checker → · Palette generator →

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