#52861D#52861D

#52861D 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#52861D
RGBrgb(82, 134, 29)
HSLhsl(90, 64%, 32%)
HSVhsv(90, 78%, 53%)
CMYKcmyk(38.8%, 0%, 78.4%, 47.5%)
CIE-LABlab(50.61, -34.70, 47.41)
CIE-LCHlch(50.61, 58.76, 126.20°)
OKLaboklab(56.26% -0.0978 0.1055)
OKLCHoklch(56.26% 0.144 132.8)
XYZxyz(12.2264, 18.9322, 4.1722)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52861D #511D86
analogous
#86861D #52861D #1E861D
triadic
#52861D #1D5286 #861D52
tetradic
#52861D #1D8686 #511D86 #861D1E
square
#52861D #1D8686 #511D86 #861D1E
split-complementary
#52861D #1D1E86 #861D86
monochromatic
#142107 #335412 #52861D #71B828 #8FD746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52861D#FFFFFF#000000##000000
##52861D1.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)
#8C7B04
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#538072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52861d;
/* rgb */ color: rgb(82, 134, 29);
/* oklch */ color: oklch(56.3% 0.144 132.8);
Tailwind
colors: {
  custom: {
    50: '#87a962',
    500: '#52861d',
    950: '#000000',
  },
}
SCSS
$custom: #52861d;
$custom-light: #87a962;
$custom-dark: #000000;
JSON
{
  "hex": "#52861d",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 89.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.14389,
    "h": 132.8
  },
  "luminance": 0.18933
}

Semantic roles & 50–950 ramp

primary
#52861D
secondary
#7F46B9
accent
#40E793
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52861D

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

Preview Lab → · Contrast checker → · Palette generator →

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