#8A6F19#8A6F19

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

Color values

HEX#8A6F19
RGBrgb(138, 111, 25)
HSLhsl(46, 69%, 32%)
HSVhsv(46, 82%, 54%)
CMYKcmyk(0%, 19.6%, 81.9%, 45.9%)
CIE-LABlab(48.06, 1.90, 48.03)
CIE-LCHlch(48.06, 48.07, 87.73°)
OKLaboklab(55.3% -0.0001 0.1041)
OKLCHoklch(55.3% 0.104 90.1)
XYZxyz(16.3421, 16.8434, 3.3099)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6F19 #19348A
analogous
#8A3719 #8A6F19 #6D8A19
triadic
#8A6F19 #198A6F #6F198A
tetradic
#8A6F19 #198A37 #19348A #8A196D
square
#8A6F19 #198A37 #19348A #8A196D
split-complementary
#8A6F19 #196D8A #37198A
monochromatic
#221C06 #564510 #8A6F19 #BE9922 #DDB741

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6F19#FFFFFF#000000##FFFFFF
##8A6F191.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)
#7D6E05
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#96655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6f19;
/* rgb */ color: rgb(138, 111, 25);
/* oklch */ color: oklch(55.3% 0.104 90.1);
Tailwind
colors: {
  custom: {
    50: '#b0985e',
    500: '#8a6f19',
    950: '#000000',
  },
}
SCSS
$custom: #8a6f19;
$custom-light: #b0985e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6f19",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 45.664,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.553,
    "c": 0.10408,
    "h": 90.1
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#8A6F19
secondary
#425FBD
accent
#66EC3C
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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