#8A7523#8A7523

#8A7523 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.102 H 94.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A7523
RGBrgb(138, 117, 35)
HSLhsl(48, 60%, 34%)
HSVhsv(48, 75%, 54%)
CMYKcmyk(0%, 15.2%, 74.6%, 45.9%)
CIE-LABlab(49.80, -1.08, 45.82)
CIE-LCHlch(49.80, 45.83, 91.35°)
OKLaboklab(56.69% -0.0075 0.1015)
OKLCHoklch(56.69% 0.102 94.2)
XYZxyz(17.1468, 18.2482, 4.2089)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7523 #23388A
analogous
#8A4223 #8A7523 #6C8A23
triadic
#8A7523 #238A75 #75238A
tetradic
#8A7523 #238A42 #23388A #8A236C
square
#8A7523 #238A42 #23388A #8A236C
split-complementary
#8A7523 #236C8A #42238A
monochromatic
#28220A #594C17 #8A7523 #BB9E2F #D4BA54

Accessibility & contrast

On white

4.52
#8A7523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8A7523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7523
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7523#FFFFFF#000000##000000
##8A75231.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#827316
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#956B65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7523;
/* rgb */ color: rgb(138, 117, 35);
/* oklch */ color: oklch(56.7% 0.102 94.2);
Tailwind
colors: {
  custom: {
    50: '#b09c64',
    500: '#8a7523',
    950: '#000000',
  },
}
SCSS
$custom: #8a7523;
$custom-light: #b09c64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7523",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 35
  },
  "hsl": {
    "h": 47.767,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.10179,
    "h": 94.2
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#8A7523
secondary
#5166B7
accent
#65E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7523

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

Preview Lab → · Contrast checker → · Palette generator →

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