#8A7323#8A7323

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

Color values

HEX#8A7323
RGBrgb(138, 115, 35)
HSLhsl(47, 60%, 34%)
HSVhsv(47, 75%, 54%)
CMYKcmyk(0%, 16.7%, 74.6%, 45.9%)
CIE-LABlab(49.24, 0.06, 45.27)
CIE-LCHlch(49.24, 45.27, 89.93°)
OKLaboklab(56.25% -0.0043 0.1004)
OKLCHoklch(56.25% 0.1 92.4)
XYZxyz(16.9163, 17.7871, 4.1320)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7323 #233A8A
analogous
#8A4023 #8A7323 #6E8A23
triadic
#8A7323 #238A73 #73238A
tetradic
#8A7323 #238A40 #233A8A #8A236E
square
#8A7323 #238A40 #233A8A #8A236E
split-complementary
#8A7323 #236E8A #40238A
monochromatic
#28220A #594A17 #8A7323 #BB9C2F #D4B754

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7323#FFFFFF#000000##FFFFFF
##8A73231.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)
#807117
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#966963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a7323;
/* rgb */ color: rgb(138, 115, 35);
/* oklch */ color: oklch(56.2% 0.100 92.4);
Tailwind
colors: {
  custom: {
    50: '#b09b63',
    500: '#8a7323',
    950: '#000000',
  },
}
SCSS
$custom: #8a7323;
$custom-light: #b09b63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7323",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 46.602,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.10044,
    "h": 92.4
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#8A7323
secondary
#5168B7
accent
#68E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7323

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

Preview Lab → · Contrast checker → · Palette generator →

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