#8A721D#8A721D

#8A721D is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 56.0% C 0.104 H 92.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A721D
RGBrgb(138, 114, 29)
HSLhsl(47, 65%, 33%)
HSVhsv(47, 79%, 54%)
CMYKcmyk(0%, 17.4%, 79%, 45.9%)
CIE-LABlab(48.92, 0.35, 47.35)
CIE-LCHlch(48.92, 47.36, 89.58°)
OKLaboklab(55.98% -0.0041 0.1035)
OKLCHoklch(55.98% 0.104 92.3)
XYZxyz(16.7213, 17.5276, 3.6646)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A721D #1D358A
analogous
#8A3C1D #8A721D #6B8A1D
triadic
#8A721D #1D8A72 #721D8A
tetradic
#8A721D #1D8A3C #1D358A #8A1D6B
square
#8A721D #1D8A3C #1D358A #8A1D6B
split-complementary
#8A721D #1D6B8A #3C1D8A
monochromatic
#251E08 #574812 #8A721D #BD9C28 #D9B949

Accessibility & contrast

On white

4.66
#8A721D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A721D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A721D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A721D#FFFFFF#000000##FFFFFF
##8A721D1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700C
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#966862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a721d;
/* rgb */ color: rgb(138, 114, 29);
/* oklch */ color: oklch(56.0% 0.104 92.3);
Tailwind
colors: {
  custom: {
    50: '#b09a60',
    500: '#8a721d',
    950: '#000000',
  },
}
SCSS
$custom: #8a721d;
$custom-light: #b09a60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a721d",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 46.789,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.1036,
    "h": 92.3
  },
  "luminance": 0.17527
}

Semantic roles & 50–950 ramp

primary
#8A721D
secondary
#4861BB
accent
#65E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A721D

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

Preview Lab → · Contrast checker → · Palette generator →

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