#8A7526#8A7526

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

Color values

HEX#8A7526
RGBrgb(138, 117, 38)
HSLhsl(47, 57%, 35%)
HSVhsv(47, 72%, 54%)
CMYKcmyk(0%, 15.2%, 72.5%, 45.9%)
CIE-LABlab(49.82, -0.92, 44.57)
CIE-LCHlch(49.82, 44.58, 91.18°)
OKLaboklab(56.71% -0.0067 0.0995)
OKLCHoklch(56.71% 0.1 93.9)
XYZxyz(17.1933, 18.2667, 4.4536)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7526 #263B8A
analogous
#8A4326 #8A7526 #6D8A26
triadic
#8A7526 #268A75 #75268A
tetradic
#8A7526 #268A43 #263B8A #8A266D
square
#8A7526 #268A43 #263B8A #8A266D
split-complementary
#8A7526 #266D8A #43268A
monochromatic
#2A240C #5A4C19 #8A7526 #BA9E33 #D1B859

Accessibility & contrast

On white

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

On black

4.65
#8A7526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7526
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7526#FFFFFF#000000##000000
##8A75261.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#956C65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7526;
/* rgb */ color: rgb(138, 117, 38);
/* oklch */ color: oklch(56.7% 0.100 93.9);
Tailwind
colors: {
  custom: {
    50: '#af9c65',
    500: '#8a7526',
    950: '#000000',
  },
}
SCSS
$custom: #8a7526;
$custom-light: #af9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7526",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 47.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56714,
    "c": 0.09969,
    "h": 93.9
  },
  "luminance": 0.18266
}

Semantic roles & 50–950 ramp

primary
#8A7526
secondary
#566AB6
accent
#68E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7526

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

Preview Lab → · Contrast checker → · Palette generator →

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