#8A7723#8A7723

#8A7723 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.103 H 96.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A7723
RGBrgb(138, 119, 35)
HSLhsl(49, 60%, 34%)
HSVhsv(49, 75%, 54%)
CMYKcmyk(0%, 13.8%, 74.6%, 45.9%)
CIE-LABlab(50.36, -2.21, 46.37)
CIE-LCHlch(50.36, 46.42, 92.73°)
OKLaboklab(57.13% -0.0107 0.1027)
OKLCHoklch(57.13% 0.103 96)
XYZxyz(17.3823, 18.7192, 4.2874)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7723 #23368A
analogous
#8A4423 #8A7723 #6A8A23
triadic
#8A7723 #238A77 #77238A
tetradic
#8A7723 #238A44 #23368A #8A236A
square
#8A7723 #238A44 #23368A #8A236A
split-complementary
#8A7723 #236A8A #44238A
monochromatic
#28230A #594D17 #8A7723 #BBA12F #D4BC54

Accessibility & contrast

On white

4.43
#8A7723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A7723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7723
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7723#FFFFFF#000000##000000
##8A77231.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#897A28
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7723;
/* rgb */ color: rgb(138, 119, 35);
/* oklch */ color: oklch(57.1% 0.103 96.0);
Tailwind
colors: {
  custom: {
    50: '#b09d64',
    500: '#8a7723',
    950: '#000000',
  },
}
SCSS
$custom: #8a7723;
$custom-light: #b09d64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7723",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 35
  },
  "hsl": {
    "h": 48.932,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.10324,
    "h": 96
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#8A7723
secondary
#5164B7
accent
#62E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7723

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

Preview Lab → · Contrast checker → · Palette generator →

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