#8A7524#8A7524

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

Color values

HEX#8A7524
RGBrgb(138, 117, 36)
HSLhsl(48, 59%, 34%)
HSVhsv(48, 74%, 54%)
CMYKcmyk(0%, 15.2%, 73.9%, 45.9%)
CIE-LABlab(49.80, -1.03, 45.41)
CIE-LCHlch(49.80, 45.42, 91.30°)
OKLaboklab(56.7% -0.0073 0.1009)
OKLCHoklch(56.7% 0.101 94.1)
XYZxyz(17.1619, 18.2542, 4.2882)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7524 #24398A
analogous
#8A4224 #8A7524 #6C8A24
triadic
#8A7524 #248A75 #75248A
tetradic
#8A7524 #248A42 #24398A #8A246C
square
#8A7524 #248A42 #24398A #8A246C
split-complementary
#8A7524 #246C8A #42248A
monochromatic
#29230B #594C17 #8A7524 #BB9E31 #D3B956

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7524#FFFFFF#000000##000000
##8A75241.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)
#827318
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#956B65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7524;
/* rgb */ color: rgb(138, 117, 36);
/* oklch */ color: oklch(56.7% 0.101 94.1);
Tailwind
colors: {
  custom: {
    50: '#b09c64',
    500: '#8a7524',
    950: '#000000',
  },
}
SCSS
$custom: #8a7524;
$custom-light: #b09c64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7524",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 36
  },
  "hsl": {
    "h": 47.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.10111,
    "h": 94.1
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#8A7524
secondary
#5367B7
accent
#66E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7524

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

Preview Lab → · Contrast checker → · Palette generator →

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