#8A7622#8A7622

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

Color values

HEX#8A7622
RGBrgb(138, 118, 34)
HSLhsl(48, 60%, 34%)
HSVhsv(48, 75%, 54%)
CMYKcmyk(0%, 14.5%, 75.4%, 45.9%)
CIE-LABlab(50.07, -1.70, 46.49)
CIE-LCHlch(50.07, 46.52, 92.09°)
OKLaboklab(56.9% -0.0094 0.1027)
OKLCHoklch(56.9% 0.103 95.2)
XYZxyz(17.2493, 18.4766, 4.1708)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7622 #22368A
analogous
#8A4222 #8A7622 #6A8A22
triadic
#8A7622 #228A76 #76228A
tetradic
#8A7622 #228A42 #22368A #8A226A
square
#8A7622 #228A42 #22368A #8A226A
split-complementary
#8A7622 #226A8A #42228A
monochromatic
#28220A #594C16 #8A7622 #BBA02E #D4BB52

Accessibility & contrast

On white

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

On black

4.70
#8A7622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7622
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7622#FFFFFF#000000##000000
##8A76221.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7622;
/* rgb */ color: rgb(138, 118, 34);
/* oklch */ color: oklch(56.9% 0.103 95.2);
Tailwind
colors: {
  custom: {
    50: '#b09d63',
    500: '#8a7622',
    950: '#000000',
  },
}
SCSS
$custom: #8a7622;
$custom-light: #b09d63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7622",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 48.462,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.10317,
    "h": 95.2
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#8A7622
secondary
#5064B8
accent
#63E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7622

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

Preview Lab → · Contrast checker → · Palette generator →

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