#8A6D15#8A6D15

#8A6D15 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.8% C 0.105 H 88.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A6D15
RGBrgb(138, 109, 21)
HSLhsl(45, 74%, 31%)
HSVhsv(45, 85%, 54%)
CMYKcmyk(0%, 21%, 84.8%, 45.9%)
CIE-LABlab(47.49, 2.91, 48.88)
CIE-LCHlch(47.49, 48.97, 86.59°)
OKLaboklab(54.84% 0.0024 0.105)
OKLCHoklch(54.84% 0.105 88.7)
XYZxyz(16.0863, 16.3958, 3.0268)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6D15 #15328A
analogous
#8A3215 #8A6D15 #6C8A15
triadic
#8A6D15 #158A6D #6D158A
tetradic
#8A6D15 #158A32 #15328A #8A156C
square
#8A6D15 #158A32 #15328A #8A156C
split-complementary
#8A6D15 #156C8A #32158A
monochromatic
#201905 #55430D #8A6D15 #BF971D #E1B739

Accessibility & contrast

On white

4.91
#8A6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8A6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6D15
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6D15#FFFFFF#000000##FFFFFF
##8A6D151.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#82741B
Tritanopia (blue-blind)
#96635D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a6d15;
/* rgb */ color: rgb(138, 109, 21);
/* oklch */ color: oklch(54.8% 0.105 88.7);
Tailwind
colors: {
  custom: {
    50: '#b0965c',
    500: '#8a6d15',
    950: '#000000',
  },
}
SCSS
$custom: #8a6d15;
$custom-light: #b0965c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6d15",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 45.128,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.10503,
    "h": 88.7
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#8A6D15
secondary
#3D5DBE
accent
#65F038
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #8A6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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