#8A732E#8A732E

#8A732E is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.4% C 0.092 H 90.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A732E
RGBrgb(138, 115, 46)
HSLhsl(45, 50%, 36%)
HSVhsv(45, 67%, 54%)
CMYKcmyk(0%, 16.7%, 66.7%, 45.9%)
CIE-LABlab(49.33, 0.70, 40.40)
CIE-LCHlch(49.33, 40.40, 89.00°)
OKLaboklab(56.35% -0.001 0.0921)
OKLCHoklch(56.35% 0.092 90.6)
XYZxyz(17.1060, 17.8630, 5.1311)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A732E #2E458A
analogous
#8A452E #8A732E #738A2E
triadic
#8A732E #2E8A73 #732E8A
tetradic
#8A732E #2E8A45 #2E458A #8A2E73
square
#8A732E #2E8A45 #2E458A #8A2E73
split-complementary
#8A732E #2E738A #452E8A
monochromatic
#2E260F #5C4D1F #8A732E #B8993D #CCB366

Accessibility & contrast

On white

4.59
#8A732E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8A732E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A732E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A732E#FFFFFF#000000##FFFFFF
##8A732E1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#956A64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a732e;
/* rgb */ color: rgb(138, 115, 46);
/* oklch */ color: oklch(56.4% 0.092 90.6);
Tailwind
colors: {
  custom: {
    50: '#af9b6a',
    500: '#8a732e',
    950: '#000000',
  },
}
SCSS
$custom: #8a732e;
$custom-light: #af9b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a732e",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 46
  },
  "hsl": {
    "h": 45,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.09206,
    "h": 90.6
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#8A732E
secondary
#6175B3
accent
#71DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A732E

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

Preview Lab → · Contrast checker → · Palette generator →

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