#8A6F1B#8A6F1B

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

Color values

HEX#8A6F1B
RGBrgb(138, 111, 27)
HSLhsl(45, 67%, 32%)
HSVhsv(45, 80%, 54%)
CMYKcmyk(0%, 19.6%, 80.4%, 45.9%)
CIE-LABlab(48.07, 1.98, 47.32)
CIE-LCHlch(48.07, 47.36, 87.60°)
OKLaboklab(55.31% 0.0003 0.103)
OKLCHoklch(55.31% 0.103 89.8)
XYZxyz(16.3645, 16.8523, 3.4276)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6F1B #1B368A
analogous
#8A371B #8A6F1B #6E8A1B
triadic
#8A6F1B #1B8A6F #6F1B8A
tetradic
#8A6F1B #1B8A37 #1B368A #8A1B6E
square
#8A6F1B #1B8A37 #1B368A #8A1B6E
split-complementary
#8A6F1B #1B6E8A #371B8A
monochromatic
#241D07 #574611 #8A6F1B #BD9825 #DBB645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6F1B#FFFFFF#000000##FFFFFF
##8A6F1B1.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)
#7D6E0A
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#96655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6f1b;
/* rgb */ color: rgb(138, 111, 27);
/* oklch */ color: oklch(55.3% 0.103 89.8);
Tailwind
colors: {
  custom: {
    50: '#b0985f',
    500: '#8a6f1b',
    950: '#000000',
  },
}
SCSS
$custom: #8a6f1b;
$custom-light: #b0985f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6f1b",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 45.405,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.103,
    "h": 89.8
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#8A6F1B
secondary
#4562BC
accent
#68EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A6F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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