#8A7429#8A7429

#8A7429 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.5% C 0.097 H 92.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A7429
RGBrgb(138, 116, 41)
HSLhsl(46, 54%, 35%)
HSVhsv(46, 70%, 54%)
CMYKcmyk(0%, 15.9%, 70.3%, 45.9%)
CIE-LABlab(49.56, -0.18, 42.98)
CIE-LCHlch(49.56, 42.98, 90.24°)
OKLaboklab(56.52% -0.0042 0.0967)
OKLCHoklch(56.52% 0.097 92.5)
XYZxyz(17.1277, 18.0551, 4.6802)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7429 #293F8A
analogous
#8A4429 #8A7429 #6F8A29
triadic
#8A7429 #298A74 #74298A
tetradic
#8A7429 #298A44 #293F8A #8A296F
square
#8A7429 #298A44 #293F8A #8A296F
split-complementary
#8A7429 #296F8A #44298A
monochromatic
#2C250D #5B4C1B #8A7429 #B99C37 #CFB65E

Accessibility & contrast

On white

4.55
#8A7429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A7429 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7429
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7429#FFFFFF#000000##000000
##8A74291.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81721F
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#956B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7429;
/* rgb */ color: rgb(138, 116, 41);
/* oklch */ color: oklch(56.5% 0.097 92.5);
Tailwind
colors: {
  custom: {
    50: '#af9b67',
    500: '#8a7429',
    950: '#000000',
  },
}
SCSS
$custom: #8a7429;
$custom-light: #af9b67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7429",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 46.392,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5652,
    "c": 0.09675,
    "h": 92.5
  },
  "luminance": 0.18054
}

Semantic roles & 50–950 ramp

primary
#8A7429
secondary
#5A6FB5
accent
#6CDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7429

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

Preview Lab → · Contrast checker → · Palette generator →

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