#8A7943#8A7943

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

Color values

HEX#8A7943
RGBrgb(138, 121, 67)
HSLhsl(46, 35%, 40%)
HSVhsv(46, 51%, 54%)
CMYKcmyk(0%, 12.3%, 51.4%, 45.9%)
CIE-LABlab(51.25, -0.98, 31.82)
CIE-LCHlch(51.25, 31.83, 91.76°)
OKLaboklab(57.94% -0.0032 0.076)
OKLCHoklch(57.94% 0.076 92.4)
XYZxyz(18.3323, 19.4841, 8.1043)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7943 #43548A
analogous
#8A5643 #8A7943 #778A43
triadic
#8A7943 #438A79 #79438A
tetradic
#8A7943 #438A56 #43548A #8A4377
square
#8A7943 #438A56 #43548A #8A4377
split-complementary
#8A7943 #43778A #56438A
monochromatic
#38311B #61552F #8A7943 #AF9B5B #C3B484

Accessibility & contrast

On white

4.29
#8A7943 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7943#FFFFFF#000000##000000
##8A79431.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83773E
Deuteranopia (green-blind)
#887C45
Tritanopia (blue-blind)
#94716C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7943;
/* rgb */ color: rgb(138, 121, 67);
/* oklch */ color: oklch(57.9% 0.076 92.4);
Tailwind
colors: {
  custom: {
    50: '#ae9f78',
    500: '#8a7943',
    950: '#000000',
  },
}
SCSS
$custom: #8a7943;
$custom-light: #ae9f78;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7943",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 67
  },
  "hsl": {
    "h": 45.634,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.07609,
    "h": 92.4
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#8A7943
secondary
#7B87AE
accent
#77CB5D
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #8A7943

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

Preview Lab → · Contrast checker → · Palette generator →

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