#8A7223#8A7223

#8A7223 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.0% C 0.100 H 91.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A7223
RGBrgb(138, 114, 35)
HSLhsl(46, 60%, 34%)
HSVhsv(46, 75%, 54%)
CMYKcmyk(0%, 17.4%, 74.6%, 45.9%)
CIE-LABlab(48.96, 0.63, 44.99)
CIE-LCHlch(48.96, 45.00, 89.20°)
OKLaboklab(56.03% -0.0026 0.0998)
OKLCHoklch(56.03% 0.1 91.5)
XYZxyz(16.8028, 17.5603, 4.0942)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7223 #233B8A
analogous
#8A3E23 #8A7223 #6F8A23
triadic
#8A7223 #238A72 #72238A
tetradic
#8A7223 #238A3E #233B8A #8A236F
square
#8A7223 #238A3E #233B8A #8A236F
split-complementary
#8A7223 #236F8A #3E238A
monochromatic
#28210A #594A17 #8A7223 #BB9A2F #D4B654

Accessibility & contrast

On white

4.65
#8A7223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A7223
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7223#FFFFFF#000000##FFFFFF
##8A72231.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7017
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#966862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7223;
/* rgb */ color: rgb(138, 114, 35);
/* oklch */ color: oklch(56.0% 0.100 91.5);
Tailwind
colors: {
  custom: {
    50: '#b09a63',
    500: '#8a7223',
    950: '#000000',
  },
}
SCSS
$custom: #8a7223;
$custom-light: #b09a63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7223",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 46.019,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56028,
    "c": 0.0998,
    "h": 91.5
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#8A7223
secondary
#5169B7
accent
#6AE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7223

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

Preview Lab → · Contrast checker → · Palette generator →

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