#52861C#52861C

#52861C is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.3% C 0.144 H 132.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#52861C
RGBrgb(82, 134, 28)
HSLhsl(89, 65%, 32%)
HSVhsv(89, 79%, 53%)
CMYKcmyk(38.8%, 0%, 79.1%, 47.5%)
CIE-LABlab(50.60, -34.76, 47.75)
CIE-LCHlch(50.60, 59.06, 126.05°)
OKLaboklab(56.25% -0.0981 0.1061)
OKLCHoklch(56.25% 0.144 132.8)
XYZxyz(12.2142, 18.9273, 4.1082)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52861C #501C86
analogous
#86851C #52861C #1D861C
triadic
#52861C #1C5286 #861C52
tetradic
#52861C #1C8685 #501C86 #861C1D
square
#52861C #1C8685 #501C86 #861C1D
split-complementary
#52861C #1C1D86 #851C86
monochromatic
#142107 #335311 #52861C #71B927 #90D844

Accessibility & contrast

On white

4.39
#52861C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#52861C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52861C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52861C#FFFFFF#000000##000000
##52861C1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B01
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#538072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52861c;
/* rgb */ color: rgb(82, 134, 28);
/* oklch */ color: oklch(56.3% 0.144 132.8);
Tailwind
colors: {
  custom: {
    50: '#87a961',
    500: '#52861c',
    950: '#000000',
  },
}
SCSS
$custom: #52861c;
$custom-light: #87a961;
$custom-dark: #000000;
JSON
{
  "hex": "#52861c",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 89.434,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.14444,
    "h": 132.8
  },
  "luminance": 0.18928
}

Semantic roles & 50–950 ramp

primary
#52861C
secondary
#7E45B9
accent
#3FE892
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52861C

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

Preview Lab → · Contrast checker → · Palette generator →

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