#8A721F#8A721F

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

Color values

HEX#8A721F
RGBrgb(138, 114, 31)
HSLhsl(47, 63%, 33%)
HSVhsv(47, 78%, 54%)
CMYKcmyk(0%, 17.4%, 77.5%, 45.9%)
CIE-LABlab(48.93, 0.43, 46.60)
CIE-LCHlch(48.93, 46.60, 89.47°)
OKLaboklab(56% -0.0037 0.1023)
OKLCHoklch(56% 0.102 92)
XYZxyz(16.7468, 17.5378, 3.7991)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A721F #1F378A
analogous
#8A3C1F #8A721F #6C8A1F
triadic
#8A721F #1F8A72 #721F8A
tetradic
#8A721F #1F8A3C #1F378A #8A1F6C
square
#8A721F #1F8A3C #1F378A #8A1F6C
split-complementary
#8A721F #1F6C8A #3C1F8A
monochromatic
#261F09 #584914 #8A721F #BC9B2A #D7B84C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A721F#FFFFFF#000000##FFFFFF
##8A721F1.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)
#7F7010
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#966862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a721f;
/* rgb */ color: rgb(138, 114, 31);
/* oklch */ color: oklch(56.0% 0.102 92.0);
Tailwind
colors: {
  custom: {
    50: '#b09a61',
    500: '#8a721f',
    950: '#000000',
  },
}
SCSS
$custom: #8a721f;
$custom-light: #b09a61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a721f",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 46.542,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55997,
    "c": 0.1024,
    "h": 92
  },
  "luminance": 0.17537
}

Semantic roles & 50–950 ramp

primary
#8A721F
secondary
#4B64BA
accent
#66E641
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A721F

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

Preview Lab → · Contrast checker → · Palette generator →

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