#8A7423#8A7423

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

Color values

HEX#8A7423
RGBrgb(138, 116, 35)
HSLhsl(47, 60%, 34%)
HSVhsv(47, 75%, 54%)
CMYKcmyk(0%, 15.9%, 74.6%, 45.9%)
CIE-LABlab(49.52, -0.51, 45.54)
CIE-LCHlch(49.52, 45.55, 90.65°)
OKLaboklab(56.47% -0.0059 0.1009)
OKLCHoklch(56.47% 0.101 93.3)
XYZxyz(17.0309, 18.0164, 4.1702)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7423 #23398A
analogous
#8A4023 #8A7423 #6D8A23
triadic
#8A7423 #238A74 #74238A
tetradic
#8A7423 #238A40 #23398A #8A236D
square
#8A7423 #238A40 #23398A #8A236D
split-complementary
#8A7423 #236D8A #40238A
monochromatic
#28220A #594B17 #8A7423 #BB9D2F #D4B854

Accessibility & contrast

On white

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

On black

4.60
#8A7423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7423
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7423#FFFFFF#000000##000000
##8A74231.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817216
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#956A64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7423;
/* rgb */ color: rgb(138, 116, 35);
/* oklch */ color: oklch(56.5% 0.101 93.3);
Tailwind
colors: {
  custom: {
    50: '#b09b64',
    500: '#8a7423',
    950: '#000000',
  },
}
SCSS
$custom: #8a7423;
$custom-light: #b09b64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7423",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 35
  },
  "hsl": {
    "h": 47.184,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.1011,
    "h": 93.3
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#8A7423
secondary
#5167B7
accent
#67E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7423

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

Preview Lab → · Contrast checker → · Palette generator →

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