#8A721C#8A721C

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

Color values

HEX#8A721C
RGBrgb(138, 114, 28)
HSLhsl(47, 66%, 33%)
HSVhsv(47, 80%, 54%)
CMYKcmyk(0%, 17.4%, 79.7%, 45.9%)
CIE-LABlab(48.91, 0.30, 47.72)
CIE-LCHlch(48.91, 47.72, 89.64°)
OKLaboklab(55.98% -0.0044 0.1041)
OKLCHoklch(55.98% 0.104 92.4)
XYZxyz(16.7091, 17.5228, 3.6005)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A721C #1C348A
analogous
#8A3B1C #8A721C #6B8A1C
triadic
#8A721C #1C8A72 #721C8A
tetradic
#8A721C #1C8A3B #1C348A #8A1C6B
square
#8A721C #1C8A3B #1C348A #8A1C6B
split-complementary
#8A721C #1C6B8A #3B1C8A
monochromatic
#241E07 #574812 #8A721C #BD9C26 #DABA47

Accessibility & contrast

On white

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

On black

4.50
#8A721C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A721C#FFFFFF#000000##FFFFFF
##8A721C1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a721c;
/* rgb */ color: rgb(138, 114, 28);
/* oklch */ color: oklch(56.0% 0.104 92.4);
Tailwind
colors: {
  custom: {
    50: '#b09a60',
    500: '#8a721c',
    950: '#000000',
  },
}
SCSS
$custom: #8a721c;
$custom-light: #b09a60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a721c",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 28
  },
  "hsl": {
    "h": 46.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.10417,
    "h": 92.4
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#8A721C
secondary
#4660BB
accent
#64E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A721C

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

Preview Lab → · Contrast checker → · Palette generator →

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