#8A7421#8A7421

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

Color values

HEX#8A7421
RGBrgb(138, 116, 33)
HSLhsl(47, 61%, 34%)
HSVhsv(47, 76%, 54%)
CMYKcmyk(0%, 15.9%, 76.1%, 45.9%)
CIE-LABlab(49.50, -0.61, 46.35)
CIE-LCHlch(49.50, 46.35, 90.76°)
OKLaboklab(56.45% -0.0064 0.1022)
OKLCHoklch(56.45% 0.102 93.6)
XYZxyz(17.0021, 18.0048, 4.0183)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7421 #21378A
analogous
#8A3F21 #8A7421 #6B8A21
triadic
#8A7421 #218A74 #74218A
tetradic
#8A7421 #218A3F #21378A #8A216B
square
#8A7421 #218A3F #21378A #8A216B
split-complementary
#8A7421 #216B8A #3F218A
monochromatic
#272109 #594A15 #8A7421 #BB9E2D #D5B950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7421#FFFFFF#000000##000000
##8A74211.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)
#817213
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#966A64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7421;
/* rgb */ color: rgb(138, 116, 33);
/* oklch */ color: oklch(56.5% 0.102 93.6);
Tailwind
colors: {
  custom: {
    50: '#b09b63',
    500: '#8a7421',
    950: '#000000',
  },
}
SCSS
$custom: #8a7421;
$custom-light: #b09b63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7421",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 33
  },
  "hsl": {
    "h": 47.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.10243,
    "h": 93.6
  },
  "luminance": 0.18004
}

Semantic roles & 50–950 ramp

primary
#8A7421
secondary
#4E65B9
accent
#65E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7421

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

Preview Lab → · Contrast checker → · Palette generator →

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