#8A7529#8A7529

#8A7529 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.7% C 0.097 H 93.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A7529
RGBrgb(138, 117, 41)
HSLhsl(47, 54%, 35%)
HSVhsv(47, 70%, 54%)
CMYKcmyk(0%, 15.2%, 70.3%, 45.9%)
CIE-LABlab(49.84, -0.75, 43.27)
CIE-LCHlch(49.84, 43.28, 90.99°)
OKLaboklab(56.74% -0.0058 0.0973)
OKLCHoklch(56.74% 0.097 93.4)
XYZxyz(17.2436, 18.2869, 4.7189)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7529 #293E8A
analogous
#8A4429 #8A7529 #6F8A29
triadic
#8A7529 #298A75 #75298A
tetradic
#8A7529 #298A44 #293E8A #8A296F
square
#8A7529 #298A44 #293E8A #8A296F
split-complementary
#8A7529 #296F8A #44298A
monochromatic
#2C250D #5B4D1B #8A7529 #B99D37 #CFB75E

Accessibility & contrast

On white

4.51
#8A7529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A7529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7529
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7529#FFFFFF#000000##000000
##8A75291.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82731F
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#956C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a7529;
/* rgb */ color: rgb(138, 117, 41);
/* oklch */ color: oklch(56.7% 0.097 93.4);
Tailwind
colors: {
  custom: {
    50: '#af9c67',
    500: '#8a7529',
    950: '#000000',
  },
}
SCSS
$custom: #8a7529;
$custom-light: #af9c67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7529",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 47.01,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56741,
    "c": 0.09746,
    "h": 93.4
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#8A7529
secondary
#5A6EB5
accent
#6ADE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7529

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

Preview Lab → · Contrast checker → · Palette generator →

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