#8D7B26#8D7B26

#8D7B26 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.105 H 96.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D7B26
RGBrgb(141, 123, 38)
HSLhsl(50, 58%, 35%)
HSVhsv(50, 73%, 55%)
CMYKcmyk(0%, 12.8%, 73%, 44.7%)
CIE-LABlab(51.80, -2.91, 46.66)
CIE-LCHlch(51.80, 46.75, 93.57°)
OKLaboklab(58.35% -0.0126 0.1038)
OKLCHoklch(58.35% 0.105 96.9)
XYZxyz(18.4182, 19.9695, 4.7177)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B26 #26388D
analogous
#8D4826 #8D7B26 #6B8D26
triadic
#8D7B26 #268D7B #7B268D
tetradic
#8D7B26 #268D48 #26388D #8D266B
square
#8D7B26 #268D48 #26388D #8D266B
split-complementary
#8D7B26 #266B8D #48268D
monochromatic
#2D270C #5D5119 #8D7B26 #BDA533 #D3BE5B

Accessibility & contrast

On white

4.21
#8D7B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D7B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B26
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B26#FFFFFF#000000##000000
##8D7B261.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887819
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#98716A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b26;
/* rgb */ color: rgb(141, 123, 38);
/* oklch */ color: oklch(58.4% 0.105 96.9);
Tailwind
colors: {
  custom: {
    50: '#b2a066',
    500: '#8d7b26',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b26;
$custom-light: #b2a066;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b26",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 49.515,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.10452,
    "h": 96.9
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#8D7B26
secondary
#5768B8
accent
#62E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7B26

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

Preview Lab → · Contrast checker → · Palette generator →

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