#8A6F16#8A6F16

#8A6F16 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.3% C 0.106 H 90.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A6F16
RGBrgb(138, 111, 22)
HSLhsl(46, 73%, 31%)
HSVhsv(46, 84%, 54%)
CMYKcmyk(0%, 19.6%, 84.1%, 45.9%)
CIE-LABlab(48.05, 1.79, 49.04)
CIE-LCHlch(48.05, 49.07, 87.90°)
OKLaboklab(55.28% -0.0007 0.1056)
OKLCHoklch(55.28% 0.106 90.4)
XYZxyz(16.3115, 16.8312, 3.1485)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6F16 #16318A
analogous
#8A3516 #8A6F16 #6B8A16
triadic
#8A6F16 #168A6F #6F168A
tetradic
#8A6F16 #168A35 #16318A #8A166B
square
#8A6F16 #168A35 #16318A #8A166B
split-complementary
#8A6F16 #166B8A #35168A
monochromatic
#201A05 #55450E #8A6F16 #BF991E #E0B93B

Accessibility & contrast

On white

4.81
#8A6F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A6F16
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6F16#FFFFFF#000000##FFFFFF
##8A6F161.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#83751C
Tritanopia (blue-blind)
#96655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6f16;
/* rgb */ color: rgb(138, 111, 22);
/* oklch */ color: oklch(55.3% 0.106 90.4);
Tailwind
colors: {
  custom: {
    50: '#b0985d',
    500: '#8a6f16',
    950: '#000000',
  },
}
SCSS
$custom: #8a6f16;
$custom-light: #b0985d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6f16",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 46.034,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55283,
    "c": 0.10557,
    "h": 90.4
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#8A6F16
secondary
#3E5CBE
accent
#63EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #8A6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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