#8A7621#8A7621

#8A7621 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.104 H 95.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A7621
RGBrgb(138, 118, 33)
HSLhsl(49, 61%, 34%)
HSVhsv(49, 76%, 54%)
CMYKcmyk(0%, 14.5%, 76.1%, 45.9%)
CIE-LABlab(50.06, -1.75, 46.89)
CIE-LCHlch(50.06, 46.92, 92.13°)
OKLaboklab(56.9% -0.0096 0.1034)
OKLCHoklch(56.9% 0.104 95.3)
XYZxyz(17.2351, 18.4709, 4.0960)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7621 #21358A
analogous
#8A4121 #8A7621 #698A21
triadic
#8A7621 #218A76 #76218A
tetradic
#8A7621 #218A41 #21358A #8A2169
square
#8A7621 #218A41 #21358A #8A2169
split-complementary
#8A7621 #21698A #41218A
monochromatic
#272209 #594C15 #8A7621 #BBA02D #D5BC50

Accessibility & contrast

On white

4.47
#8A7621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A7621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7621
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7621#FFFFFF#000000##000000
##8A76211.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#956C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a7621;
/* rgb */ color: rgb(138, 118, 33);
/* oklch */ color: oklch(56.9% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#b09d63',
    500: '#8a7621',
    950: '#000000',
  },
}
SCSS
$custom: #8a7621;
$custom-light: #b09d63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7621",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 33
  },
  "hsl": {
    "h": 48.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.10382,
    "h": 95.3
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

primary
#8A7621
secondary
#4E63B9
accent
#62E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7621

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

Preview Lab → · Contrast checker → · Palette generator →

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