#8A732C#8A732C

#8A732C is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.3% C 0.094 H 91.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A732C
RGBrgb(138, 115, 44)
HSLhsl(45, 52%, 36%)
HSVhsv(45, 68%, 54%)
CMYKcmyk(0%, 16.7%, 68.1%, 45.9%)
CIE-LABlab(49.31, 0.57, 41.33)
CIE-LCHlch(49.31, 41.33, 89.20°)
OKLaboklab(56.33% -0.0016 0.0937)
OKLCHoklch(56.33% 0.094 91)
XYZxyz(17.0675, 17.8476, 4.9283)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A732C #2C438A
analogous
#8A442C #8A732C #728A2C
triadic
#8A732C #2C8A73 #732C8A
tetradic
#8A732C #2C8A44 #2C438A #8A2C72
square
#8A732C #2C8A44 #2C438A #8A2C72
split-complementary
#8A732C #2C728A #442C8A
monochromatic
#2D260E #5C4C1D #8A732C #B89A3B #CDB363

Accessibility & contrast

On white

4.60
#8A732C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A732C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A732C#FFFFFF#000000##FFFFFF
##8A732C1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#956A64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a732c;
/* rgb */ color: rgb(138, 115, 44);
/* oklch */ color: oklch(56.3% 0.094 91.0);
Tailwind
colors: {
  custom: {
    50: '#af9b69',
    500: '#8a732c',
    950: '#000000',
  },
}
SCSS
$custom: #8a732c;
$custom-light: #af9b69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a732c",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 44
  },
  "hsl": {
    "h": 45.319,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.0937,
    "h": 91
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#8A732C
secondary
#5E73B4
accent
#70DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A732C

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

Preview Lab → · Contrast checker → · Palette generator →

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