#8A6F1C#8A6F1C

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

Color values

HEX#8A6F1C
RGBrgb(138, 111, 28)
HSLhsl(45, 66%, 33%)
HSVhsv(45, 80%, 54%)
CMYKcmyk(0%, 19.6%, 79.7%, 45.9%)
CIE-LABlab(48.08, 2.02, 46.95)
CIE-LCHlch(48.08, 47.00, 87.54°)
OKLaboklab(55.32% 0.0005 0.1024)
OKLCHoklch(55.32% 0.102 89.7)
XYZxyz(16.3763, 16.8571, 3.4896)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6F1C #1C378A
analogous
#8A381C #8A6F1C #6E8A1C
triadic
#8A6F1C #1C8A6F #6F1C8A
tetradic
#8A6F1C #1C8A38 #1C378A #8A1C6E
square
#8A6F1C #1C8A38 #1C378A #8A1C6E
split-complementary
#8A6F1C #1C6E8A #381C8A
monochromatic
#241D07 #574612 #8A6F1C #BD9826 #DAB647

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6F1C#FFFFFF#000000##FFFFFF
##8A6F1C1.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)
#7D6E0C
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#96655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6f1c;
/* rgb */ color: rgb(138, 111, 28);
/* oklch */ color: oklch(55.3% 0.102 89.7);
Tailwind
colors: {
  custom: {
    50: '#b0985f',
    500: '#8a6f1c',
    950: '#000000',
  },
}
SCSS
$custom: #8a6f1c;
$custom-light: #b0985f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6f1c",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 45.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.10244,
    "h": 89.7
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#8A6F1C
secondary
#4663BB
accent
#68E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A6F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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