#52861A#52861A

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

Color values

HEX#52861A
RGBrgb(82, 134, 26)
HSLhsl(89, 68%, 31%)
HSVhsv(89, 81%, 53%)
CMYKcmyk(38.8%, 0%, 80.6%, 47.5%)
CIE-LABlab(50.59, -34.87, 48.40)
CIE-LCHlch(50.59, 59.66, 125.77°)
OKLaboklab(56.24% -0.0985 0.1071)
OKLCHoklch(56.24% 0.146 132.6)
XYZxyz(12.1911, 18.9181, 3.9863)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52861A #4E1A86
analogous
#86841A #52861A #1C861A
triadic
#52861A #1A5286 #861A52
tetradic
#52861A #1A8684 #4E1A86 #861A1C
square
#52861A #1A8684 #4E1A86 #861A1C
split-complementary
#52861A #1A1C86 #841A86
monochromatic
#131F06 #335310 #52861A #71B924 #90DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52861A#FFFFFF#000000##000000
##52861A1.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)
#857726
Tritanopia (blue-blind)
#538072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52861a;
/* rgb */ color: rgb(82, 134, 26);
/* oklch */ color: oklch(56.2% 0.146 132.6);
Tailwind
colors: {
  custom: {
    50: '#88a960',
    500: '#52861a',
    950: '#000000',
  },
}
SCSS
$custom: #52861a;
$custom-light: #88a960;
$custom-dark: #000000;
JSON
{
  "hex": "#52861a",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 88.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.14551,
    "h": 132.6
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#52861A
secondary
#7C42B9
accent
#3DEA91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52861A

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

Preview Lab → · Contrast checker → · Palette generator →

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