#8A7220#8A7220

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

Color values

HEX#8A7220
RGBrgb(138, 114, 32)
HSLhsl(46, 62%, 33%)
HSVhsv(46, 77%, 54%)
CMYKcmyk(0%, 17.4%, 76.8%, 45.9%)
CIE-LABlab(48.94, 0.48, 46.21)
CIE-LCHlch(48.94, 46.21, 89.40°)
OKLaboklab(56% -0.0034 0.1017)
OKLCHoklch(56% 0.102 91.9)
XYZxyz(16.7602, 17.5432, 3.8696)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7220 #20388A
analogous
#8A3D20 #8A7220 #6D8A20
triadic
#8A7220 #208A72 #72208A
tetradic
#8A7220 #208A3D #20388A #8A206D
square
#8A7220 #208A3D #20388A #8A206D
split-complementary
#8A7220 #206D8A #3D208A
monochromatic
#272009 #584914 #8A7220 #BC9B2C #D6B74E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7220#FFFFFF#000000##FFFFFF
##8A72201.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)
#7F7012
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#966862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7220;
/* rgb */ color: rgb(138, 114, 32);
/* oklch */ color: oklch(56.0% 0.102 91.9);
Tailwind
colors: {
  custom: {
    50: '#b09a62',
    500: '#8a7220',
    950: '#000000',
  },
}
SCSS
$custom: #8a7220;
$custom-light: #b09a62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7220",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 46.415,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.10177,
    "h": 91.9
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#8A7220
secondary
#4D65B9
accent
#67E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7220

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

Preview Lab → · Contrast checker → · Palette generator →

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