#8A861D#8A861D

#8A861D is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.120 H 107.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A861D
RGBrgb(138, 134, 29)
HSLhsl(58, 65%, 33%)
HSVhsv(58, 79%, 54%)
CMYKcmyk(0%, 2.9%, 79%, 45.9%)
CIE-LABlab(54.60, -10.78, 52.57)
CIE-LCHlch(54.60, 53.66, 101.59°)
OKLaboklab(60.49% -0.0355 0.1147)
OKLCHoklch(60.49% 0.12 107.2)
XYZxyz(19.2289, 22.5429, 4.5005)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A861D #1D218A
analogous
#8A4F1D #8A861D #588A1D
triadic
#8A861D #1D8A86 #861D8A
tetradic
#8A861D #1D8A4F #1D218A #8A1D58
square
#8A861D #1D8A4F #1D218A #8A1D58
split-complementary
#8A861D #1D588A #4F1D8A
monochromatic
#252408 #575512 #8A861D #BDB728 #D9D349

Accessibility & contrast

On white

3.81
#8A861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A861D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A861D#FFFFFF#000000##000000
##8A861D1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928102
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#957D72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a861d;
/* rgb */ color: rgb(138, 134, 29);
/* oklch */ color: oklch(60.5% 0.120 107.2);
Tailwind
colors: {
  custom: {
    50: '#b0a863',
    500: '#8a861d',
    950: '#000000',
  },
}
SCSS
$custom: #8a861d;
$custom-light: #b0a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8a861d",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 57.798,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60491,
    "c": 0.12004,
    "h": 107.2
  },
  "luminance": 0.22542
}

Semantic roles & 50–950 ramp

primary
#8A861D
secondary
#484CBB
accent
#46E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A861D

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

Preview Lab → · Contrast checker → · Palette generator →

#8A861D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva