#8A7721#8A7721

#8A7721 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.105 H 96.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A7721
RGBrgb(138, 119, 33)
HSLhsl(49, 61%, 34%)
HSVhsv(49, 76%, 54%)
CMYKcmyk(0%, 13.8%, 76.1%, 45.9%)
CIE-LABlab(50.34, -2.31, 47.16)
CIE-LCHlch(50.34, 47.21, 92.81°)
OKLaboklab(57.12% -0.0113 0.104)
OKLCHoklch(57.12% 0.105 96.2)
XYZxyz(17.3535, 18.7077, 4.1354)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7721 #21348A
analogous
#8A4221 #8A7721 #688A21
triadic
#8A7721 #218A77 #77218A
tetradic
#8A7721 #218A42 #21348A #8A2168
square
#8A7721 #218A42 #21348A #8A2168
split-complementary
#8A7721 #21688A #42218A
monochromatic
#272209 #594C15 #8A7721 #BBA22D #D5BD50

Accessibility & contrast

On white

4.43
#8A7721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A7721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7721
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7721#FFFFFF#000000##000000
##8A77211.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847412
Deuteranopia (green-blind)
#897A26
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7721;
/* rgb */ color: rgb(138, 119, 33);
/* oklch */ color: oklch(57.1% 0.105 96.2);
Tailwind
colors: {
  custom: {
    50: '#b09d63',
    500: '#8a7721',
    950: '#000000',
  },
}
SCSS
$custom: #8a7721;
$custom-light: #b09d63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7721",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 33
  },
  "hsl": {
    "h": 49.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.10456,
    "h": 96.2
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#8A7721
secondary
#4E61B9
accent
#60E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7721

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

Preview Lab → · Contrast checker → · Palette generator →

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