#8A721B#8A721B

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

Color values

HEX#8A721B
RGBrgb(138, 114, 27)
HSLhsl(47, 67%, 32%)
HSVhsv(47, 80%, 54%)
CMYKcmyk(0%, 17.4%, 80.4%, 45.9%)
CIE-LABlab(48.91, 0.26, 48.08)
CIE-LCHlch(48.91, 48.08, 89.69°)
OKLaboklab(55.97% -0.0046 0.1046)
OKLCHoklch(55.97% 0.105 92.5)
XYZxyz(16.6973, 17.5181, 3.5386)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A721B #1B338A
analogous
#8A3A1B #8A721B #6B8A1B
triadic
#8A721B #1B8A72 #721B8A
tetradic
#8A721B #1B8A3A #1B338A #8A1B6B
square
#8A721B #1B8A3A #1B338A #8A1B6B
split-complementary
#8A721B #1B6B8A #3A1B8A
monochromatic
#241D07 #574811 #8A721B #BD9C25 #DBBA45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A721B#FFFFFF#000000##FFFFFF
##8A721B1.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)
#7F7008
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#966862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a721b;
/* rgb */ color: rgb(138, 114, 27);
/* oklch */ color: oklch(56.0% 0.105 92.5);
Tailwind
colors: {
  custom: {
    50: '#b09a5f',
    500: '#8a721b',
    950: '#000000',
  },
}
SCSS
$custom: #8a721b;
$custom-light: #b09a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a721b",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 47.027,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.10474,
    "h": 92.5
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

primary
#8A721B
secondary
#455FBC
accent
#63EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A721B

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

Preview Lab → · Contrast checker → · Palette generator →

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