#8A7426#8A7426

#8A7426 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.5% C 0.099 H 92.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A7426
RGBrgb(138, 116, 38)
HSLhsl(47, 57%, 35%)
HSVhsv(47, 72%, 54%)
CMYKcmyk(0%, 15.9%, 72.5%, 45.9%)
CIE-LABlab(49.54, -0.35, 44.29)
CIE-LCHlch(49.54, 44.29, 90.46°)
OKLaboklab(56.49% -0.0051 0.0989)
OKLCHoklch(56.49% 0.099 92.9)
XYZxyz(17.0774, 18.0350, 4.4149)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7426 #263C8A
analogous
#8A4226 #8A7426 #6E8A26
triadic
#8A7426 #268A74 #74268A
tetradic
#8A7426 #268A42 #263C8A #8A266E
square
#8A7426 #268A42 #263C8A #8A266E
split-complementary
#8A7426 #266E8A #42268A
monochromatic
#2A230C #5A4C19 #8A7426 #BA9C33 #D1B759

Accessibility & contrast

On white

4.56
#8A7426 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A7426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7426
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7426#FFFFFF#000000##000000
##8A74261.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#956A64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7426;
/* rgb */ color: rgb(138, 116, 38);
/* oklch */ color: oklch(56.5% 0.099 92.9);
Tailwind
colors: {
  custom: {
    50: '#af9b65',
    500: '#8a7426',
    950: '#000000',
  },
}
SCSS
$custom: #8a7426;
$custom-light: #af9b65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7426",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 38
  },
  "hsl": {
    "h": 46.8,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.099,
    "h": 92.9
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

primary
#8A7426
secondary
#566BB6
accent
#69E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7426

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

Preview Lab → · Contrast checker → · Palette generator →

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