#8D7A26#8D7A26

#8D7A26 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.104 H 96.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D7A26
RGBrgb(141, 122, 38)
HSLhsl(49, 58%, 35%)
HSVhsv(49, 73%, 55%)
CMYKcmyk(0%, 13.5%, 73%, 44.7%)
CIE-LABlab(51.52, -2.35, 46.38)
CIE-LCHlch(51.52, 46.44, 92.90°)
OKLaboklab(58.13% -0.011 0.1032)
OKLCHoklch(58.13% 0.104 96.1)
XYZxyz(18.2948, 19.7227, 4.6766)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A26 #26398D
analogous
#8D4626 #8D7A26 #6C8D26
triadic
#8D7A26 #268D7A #7A268D
tetradic
#8D7A26 #268D46 #26398D #8D266C
square
#8D7A26 #268D46 #26398D #8D266C
split-complementary
#8D7A26 #266C8D #46268D
monochromatic
#2D270C #5D5019 #8D7A26 #BDA433 #D3BD5B

Accessibility & contrast

On white

4.25
#8D7A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8D7A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A26
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A26#FFFFFF#000000##000000
##8D7A261.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877719
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#987069
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a26;
/* rgb */ color: rgb(141, 122, 38);
/* oklch */ color: oklch(58.1% 0.104 96.1);
Tailwind
colors: {
  custom: {
    50: '#b2a066',
    500: '#8d7a26',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a26;
$custom-light: #b2a066;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a26",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 48.932,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.10375,
    "h": 96.1
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#8D7A26
secondary
#5769B8
accent
#63E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7A26

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

Preview Lab → · Contrast checker → · Palette generator →

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