#8A6E19#8A6E19

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

Color values

HEX#8A6E19
RGBrgb(138, 110, 25)
HSLhsl(45, 69%, 32%)
HSVhsv(45, 82%, 54%)
CMYKcmyk(0%, 20.3%, 81.9%, 45.9%)
CIE-LABlab(47.79, 2.48, 47.79)
CIE-LCHlch(47.79, 47.85, 87.03°)
OKLaboklab(55.08% 0.0015 0.1035)
OKLCHoklch(55.08% 0.104 89.2)
XYZxyz(16.2336, 16.6264, 3.2737)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6E19 #19358A
analogous
#8A3619 #8A6E19 #6E8A19
triadic
#8A6E19 #198A6E #6E198A
tetradic
#8A6E19 #198A36 #19358A #8A196E
square
#8A6E19 #198A36 #19358A #8A196E
split-complementary
#8A6E19 #196E8A #36198A
monochromatic
#221B06 #564510 #8A6E19 #BE9722 #DDB641

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6E19#FFFFFF#000000##FFFFFF
##8A6E191.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)
#7C6D06
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#96645E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a6e19;
/* rgb */ color: rgb(138, 110, 25);
/* oklch */ color: oklch(55.1% 0.104 89.2);
Tailwind
colors: {
  custom: {
    50: '#b0975e',
    500: '#8a6e19',
    950: '#000000',
  },
}
SCSS
$custom: #8a6e19;
$custom-light: #b0975e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6e19",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 45.133,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.10355,
    "h": 89.2
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#8A6E19
secondary
#4260BD
accent
#67EC3C
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A6E19

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

Preview Lab → · Contrast checker → · Palette generator →

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