#8A7328#8A7328

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

Color values

HEX#8A7328
RGBrgb(138, 115, 40)
HSLhsl(46, 55%, 35%)
HSVhsv(46, 71%, 54%)
CMYKcmyk(0%, 16.7%, 71%, 45.9%)
CIE-LABlab(49.28, 0.33, 43.13)
CIE-LCHlch(49.28, 43.14, 89.56°)
OKLaboklab(56.29% -0.0029 0.0968)
OKLCHoklch(56.29% 0.097 91.7)
XYZxyz(16.9959, 17.8189, 4.5513)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7328 #283F8A
analogous
#8A4228 #8A7328 #708A28
triadic
#8A7328 #288A73 #73288A
tetradic
#8A7328 #288A42 #283F8A #8A2870
square
#8A7328 #288A42 #283F8A #8A2870
split-complementary
#8A7328 #28708A #42288A
monochromatic
#2B240C #5B4B1A #8A7328 #B99B36 #D0B55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7328#FFFFFF#000000##FFFFFF
##8A73281.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)
#80711E
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#956A64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7328;
/* rgb */ color: rgb(138, 115, 40);
/* oklch */ color: oklch(56.3% 0.097 91.7);
Tailwind
colors: {
  custom: {
    50: '#af9b66',
    500: '#8a7328',
    950: '#000000',
  },
}
SCSS
$custom: #8a7328;
$custom-light: #af9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7328",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 45.918,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.09685,
    "h": 91.7
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#8A7328
secondary
#596EB5
accent
#6CDE49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7328

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

Preview Lab → · Contrast checker → · Palette generator →

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