#52861B#52861B

#52861B is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.145 H 132.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#52861B
RGBrgb(82, 134, 27)
HSLhsl(89, 66%, 32%)
HSVhsv(89, 80%, 53%)
CMYKcmyk(38.8%, 0%, 79.9%, 47.5%)
CIE-LABlab(50.60, -34.82, 48.08)
CIE-LCHlch(50.60, 59.36, 125.91°)
OKLaboklab(56.24% -0.0983 0.1066)
OKLCHoklch(56.24% 0.145 132.7)
XYZxyz(12.2024, 18.9226, 4.0462)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52861B #4F1B86
analogous
#86851B #52861B #1C861B
triadic
#52861B #1B5286 #861B52
tetradic
#52861B #1B8685 #4F1B86 #861B1C
square
#52861B #1B8685 #4F1B86 #861B1C
split-complementary
#52861B #1B1C86 #851B86
monochromatic
#142006 #335311 #52861B #71B925 #90D942

Accessibility & contrast

On white

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

On black

4.78
#52861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52861B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52861B#FFFFFF#000000##000000
##52861B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52861b;
/* rgb */ color: rgb(82, 134, 27);
/* oklch */ color: oklch(56.2% 0.145 132.7);
Tailwind
colors: {
  custom: {
    50: '#87a961',
    500: '#52861b',
    950: '#000000',
  },
}
SCSS
$custom: #52861b;
$custom-light: #87a961;
$custom-dark: #000000;
JSON
{
  "hex": "#52861b",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 89.159,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.14498,
    "h": 132.7
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#52861B
secondary
#7D44B9
accent
#3EE992
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52861B

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

Preview Lab → · Contrast checker → · Palette generator →

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