#8A7325#8A7325

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

Color values

HEX#8A7325
RGBrgb(138, 115, 37)
HSLhsl(46, 58%, 34%)
HSVhsv(46, 73%, 54%)
CMYKcmyk(0%, 16.7%, 73.2%, 45.9%)
CIE-LABlab(49.25, 0.16, 44.43)
CIE-LCHlch(49.25, 44.43, 89.79°)
OKLaboklab(56.26% -0.0037 0.099)
OKLCHoklch(56.26% 0.099 92.2)
XYZxyz(16.9468, 17.7993, 4.2929)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7325 #253C8A
analogous
#8A4125 #8A7325 #6F8A25
triadic
#8A7325 #258A73 #73258A
tetradic
#8A7325 #258A41 #253C8A #8A256F
square
#8A7325 #258A41 #253C8A #8A256F
split-complementary
#8A7325 #256F8A #41258A
monochromatic
#29230B #5A4B18 #8A7325 #BA9B32 #D2B657

Accessibility & contrast

On white

4.61
#8A7325 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A7325
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7325#FFFFFF#000000##FFFFFF
##8A73251.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7325;
/* rgb */ color: rgb(138, 115, 37);
/* oklch */ color: oklch(56.3% 0.099 92.2);
Tailwind
colors: {
  custom: {
    50: '#b09b65',
    500: '#8a7325',
    950: '#000000',
  },
}
SCSS
$custom: #8a7325;
$custom-light: #b09b65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7325",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 37
  },
  "hsl": {
    "h": 46.337,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.09905,
    "h": 92.2
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#8A7325
secondary
#546BB7
accent
#6AE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7325

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

Preview Lab → · Contrast checker → · Palette generator →

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