#8A6D14#8A6D14

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

Color values

HEX#8A6D14
RGBrgb(138, 109, 20)
HSLhsl(45, 75%, 31%)
HSVhsv(45, 86%, 54%)
CMYKcmyk(0%, 21%, 85.5%, 45.9%)
CIE-LABlab(47.48, 2.88, 49.19)
CIE-LCHlch(47.48, 49.28, 86.65°)
OKLaboklab(54.84% 0.0022 0.1055)
OKLCHoklch(54.84% 0.105 88.8)
XYZxyz(16.0772, 16.3922, 2.9789)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6D14 #14318A
analogous
#8A3214 #8A6D14 #6C8A14
triadic
#8A6D14 #148A6D #6D148A
tetradic
#8A6D14 #148A32 #14318A #8A146C
square
#8A6D14 #148A32 #14318A #8A146C
split-complementary
#8A6D14 #146C8A #32148A
monochromatic
#1F1905 #55430C #8A6D14 #BF971C #E2B836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6D14#FFFFFF#000000##FFFFFF
##8A6D141.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)
#82741A
Tritanopia (blue-blind)
#96625D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a6d14;
/* rgb */ color: rgb(138, 109, 20);
/* oklch */ color: oklch(54.8% 0.105 88.8);
Tailwind
colors: {
  custom: {
    50: '#b0965b',
    500: '#8a6d14',
    950: '#000000',
  },
}
SCSS
$custom: #8a6d14;
$custom-light: #b0965b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6d14",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 45.254,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.10547,
    "h": 88.8
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#8A6D14
secondary
#3C5CBE
accent
#64F136
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #8A6D14

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

Preview Lab → · Contrast checker → · Palette generator →

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