#8A7726#8A7726

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

Color values

HEX#8A7726
RGBrgb(138, 119, 38)
HSLhsl(49, 57%, 35%)
HSVhsv(49, 72%, 54%)
CMYKcmyk(0%, 13.8%, 72.5%, 45.9%)
CIE-LABlab(50.38, -2.05, 45.13)
CIE-LCHlch(50.38, 45.18, 92.61°)
OKLaboklab(57.16% -0.0099 0.1007)
OKLCHoklch(57.16% 0.101 95.6)
XYZxyz(17.4288, 18.7378, 4.5321)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7726 #26398A
analogous
#8A4526 #8A7726 #6B8A26
triadic
#8A7726 #268A77 #77268A
tetradic
#8A7726 #268A45 #26398A #8A266B
square
#8A7726 #268A45 #26398A #8A266B
split-complementary
#8A7726 #266B8A #45268A
monochromatic
#2A240C #5A4E19 #8A7726 #BAA033 #D1BA59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7726#FFFFFF#000000##000000
##8A77261.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)
#84741A
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#956E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7726;
/* rgb */ color: rgb(138, 119, 38);
/* oklch */ color: oklch(57.2% 0.101 95.6);
Tailwind
colors: {
  custom: {
    50: '#af9d66',
    500: '#8a7726',
    950: '#000000',
  },
}
SCSS
$custom: #8a7726;
$custom-light: #af9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7726",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 48.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.10115,
    "h": 95.6
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#8A7726
secondary
#5668B6
accent
#65E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7726

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

Preview Lab → · Contrast checker → · Palette generator →

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