#8A6F1D#8A6F1D

#8A6F1D is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.3% C 0.102 H 89.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A6F1D
RGBrgb(138, 111, 29)
HSLhsl(45, 65%, 33%)
HSVhsv(45, 79%, 54%)
CMYKcmyk(0%, 19.6%, 79%, 45.9%)
CIE-LABlab(48.09, 2.06, 46.58)
CIE-LCHlch(48.09, 46.62, 87.46°)
OKLaboklab(55.33% 0.0008 0.1019)
OKLCHoklch(55.33% 0.102 89.6)
XYZxyz(16.3884, 16.8619, 3.5537)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6F1D #1D388A
analogous
#8A391D #8A6F1D #6E8A1D
triadic
#8A6F1D #1D8A6F #6F1D8A
tetradic
#8A6F1D #1D8A39 #1D388A #8A1D6E
square
#8A6F1D #1D8A39 #1D388A #8A1D6E
split-complementary
#8A6F1D #1D6E8A #391D8A
monochromatic
#251E08 #574612 #8A6F1D #BD9828 #D9B549

Accessibility & contrast

On white

4.80
#8A6F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8A6F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6F1D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6F1D#FFFFFF#000000##FFFFFF
##8A6F1D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#96655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6f1d;
/* rgb */ color: rgb(138, 111, 29);
/* oklch */ color: oklch(55.3% 0.102 89.6);
Tailwind
colors: {
  custom: {
    50: '#b09860',
    500: '#8a6f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a6f1d;
$custom-light: #b09860;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6f1d",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 45.138,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.10186,
    "h": 89.6
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#8A6F1D
secondary
#4864BB
accent
#69E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A6F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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