#8A6E15#8A6E15

#8A6E15 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 55.1% C 0.106 H 89.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A6E15
RGBrgb(138, 110, 21)
HSLhsl(46, 74%, 31%)
HSVhsv(46, 85%, 54%)
CMYKcmyk(0%, 20.3%, 84.8%, 45.9%)
CIE-LABlab(47.77, 2.34, 49.12)
CIE-LCHlch(47.77, 49.17, 87.28°)
OKLaboklab(55.06% 0.0007 0.1055)
OKLCHoklch(55.06% 0.106 89.6)
XYZxyz(16.1935, 16.6104, 3.0625)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6E15 #15318A
analogous
#8A3315 #8A6E15 #6B8A15
triadic
#8A6E15 #158A6E #6E158A
tetradic
#8A6E15 #158A33 #15318A #8A156B
square
#8A6E15 #158A33 #15318A #8A156B
split-complementary
#8A6E15 #156B8A #33158A
monochromatic
#201905 #55440D #8A6E15 #BF981D #E1B939

Accessibility & contrast

On white

4.86
#8A6E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8A6E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6E15
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6E15#FFFFFF#000000##FFFFFF
##8A6E151.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#83751B
Tritanopia (blue-blind)
#96645E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a6e15;
/* rgb */ color: rgb(138, 110, 21);
/* oklch */ color: oklch(55.1% 0.106 89.6);
Tailwind
colors: {
  custom: {
    50: '#b0975c',
    500: '#8a6e15',
    950: '#000000',
  },
}
SCSS
$custom: #8a6e15;
$custom-light: #b0975c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6e15",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 45.641,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.10552,
    "h": 89.6
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#8A6E15
secondary
#3D5CBE
accent
#64F038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #8A6E15

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

Preview Lab → · Contrast checker → · Palette generator →

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