#8A7729#8A7729

#8A7729 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.099 H 95.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A7729
RGBrgb(138, 119, 41)
HSLhsl(48, 54%, 35%)
HSVhsv(48, 70%, 54%)
CMYKcmyk(0%, 13.8%, 70.3%, 45.9%)
CIE-LABlab(50.40, -1.88, 43.85)
CIE-LCHlch(50.40, 43.89, 92.46°)
OKLaboklab(57.18% -0.0091 0.0985)
OKLCHoklch(57.18% 0.099 95.3)
XYZxyz(17.4792, 18.7579, 4.7974)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7729 #293C8A
analogous
#8A4629 #8A7729 #6D8A29
triadic
#8A7729 #298A77 #77298A
tetradic
#8A7729 #298A46 #293C8A #8A296D
square
#8A7729 #298A46 #293C8A #8A296D
split-complementary
#8A7729 #296D8A #46298A
monochromatic
#2C260D #5B4E1B #8A7729 #B9A037 #CFB95E

Accessibility & contrast

On white

4.42
#8A7729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A7729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7729
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7729#FFFFFF#000000##000000
##8A77291.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83751F
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#956E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7729;
/* rgb */ color: rgb(138, 119, 41);
/* oklch */ color: oklch(57.2% 0.099 95.3);
Tailwind
colors: {
  custom: {
    50: '#af9d67',
    500: '#8a7729',
    950: '#000000',
  },
}
SCSS
$custom: #8a7729;
$custom-light: #af9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7729",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 41
  },
  "hsl": {
    "h": 48.247,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.09892,
    "h": 95.3
  },
  "luminance": 0.18757
}

Semantic roles & 50–950 ramp

primary
#8A7729
secondary
#5A6CB5
accent
#67DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7729

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

Preview Lab → · Contrast checker → · Palette generator →

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