#8A7946#8A7946

#8A7946 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 58.0% C 0.073 H 91.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A7946
RGBrgb(138, 121, 70)
HSLhsl(45, 33%, 41%)
HSVhsv(45, 49%, 54%)
CMYKcmyk(0%, 12.3%, 49.3%, 45.9%)
CIE-LABlab(51.29, -0.68, 30.24)
CIE-LCHlch(51.29, 30.25, 91.28°)
OKLaboklab(57.99% -0.002 0.0728)
OKLCHoklch(57.99% 0.073 91.6)
XYZxyz(18.4247, 19.5210, 8.5906)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7946 #46578A
analogous
#8A5746 #8A7946 #798A46
triadic
#8A7946 #468A79 #79468A
tetradic
#8A7946 #468A57 #46578A #8A4679
square
#8A7946 #468A57 #46578A #8A4679
split-complementary
#8A7946 #46798A #57468A
monochromatic
#39321D #615531 #8A7946 #AE9A5F #C3B488

Accessibility & contrast

On white

4.28
#8A7946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A7946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7946
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7946#FFFFFF#000000##000000
##8A79461.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837742
Deuteranopia (green-blind)
#877C48
Tritanopia (blue-blind)
#93726D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7946;
/* rgb */ color: rgb(138, 121, 70);
/* oklch */ color: oklch(58.0% 0.073 91.6);
Tailwind
colors: {
  custom: {
    50: '#ae9f7a',
    500: '#8a7946',
    950: '#000000',
  },
}
SCSS
$custom: #8a7946;
$custom-light: #ae9f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7946",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 45,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.07278,
    "h": 91.6
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#8A7946
secondary
#7E8AAE
accent
#79C95F
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #8A7946

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

Preview Lab → · Contrast checker → · Palette generator →

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