#8A7326#8A7326

#8A7326 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.3% C 0.098 H 92.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A7326
RGBrgb(138, 115, 38)
HSLhsl(46, 57%, 35%)
HSVhsv(46, 72%, 54%)
CMYKcmyk(0%, 16.7%, 72.5%, 45.9%)
CIE-LABlab(49.26, 0.22, 44.01)
CIE-LCHlch(49.26, 44.01, 89.72°)
OKLaboklab(56.27% -0.0034 0.0983)
OKLCHoklch(56.27% 0.098 92)
XYZxyz(16.9627, 17.8057, 4.3767)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7326 #263D8A
analogous
#8A4126 #8A7326 #6F8A26
triadic
#8A7326 #268A73 #73268A
tetradic
#8A7326 #268A41 #263D8A #8A266F
square
#8A7326 #268A41 #263D8A #8A266F
split-complementary
#8A7326 #266F8A #41268A
monochromatic
#2A230C #5A4B19 #8A7326 #BA9B33 #D1B659

Accessibility & contrast

On white

4.60
#8A7326 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8A7326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7326
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7326#FFFFFF#000000##FFFFFF
##8A73261.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711B
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#956963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7326;
/* rgb */ color: rgb(138, 115, 38);
/* oklch */ color: oklch(56.3% 0.098 92.0);
Tailwind
colors: {
  custom: {
    50: '#af9b65',
    500: '#8a7326',
    950: '#000000',
  },
}
SCSS
$custom: #8a7326;
$custom-light: #af9b65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7326",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 38
  },
  "hsl": {
    "h": 46.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.09833,
    "h": 92
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#8A7326
secondary
#566CB6
accent
#6BE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7326

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

Preview Lab → · Contrast checker → · Palette generator →

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