#8D7826#8D7826

#8D7826 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.102 H 94.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D7826
RGBrgb(141, 120, 38)
HSLhsl(48, 58%, 35%)
HSVhsv(48, 73%, 55%)
CMYKcmyk(0%, 14.9%, 73%, 44.7%)
CIE-LABlab(50.96, -1.23, 45.82)
CIE-LCHlch(50.96, 45.84, 91.53°)
OKLaboklab(57.69% -0.0078 0.102)
OKLCHoklch(57.69% 0.102 94.4)
XYZxyz(18.0518, 19.2366, 4.5956)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7826 #263B8D
analogous
#8D4426 #8D7826 #6E8D26
triadic
#8D7826 #268D78 #78268D
tetradic
#8D7826 #268D44 #263B8D #8D266E
square
#8D7826 #268D44 #263B8D #8D266E
split-complementary
#8D7826 #266E8D #44268D
monochromatic
#2D260C #5D4F19 #8D7826 #BDA133 #D3BA5B

Accessibility & contrast

On white

4.33
#8D7826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8D7826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7826
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7826#FFFFFF#000000##000000
##8D78261.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#996E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7826;
/* rgb */ color: rgb(141, 120, 38);
/* oklch */ color: oklch(57.7% 0.102 94.4);
Tailwind
colors: {
  custom: {
    50: '#b29e66',
    500: '#8d7826',
    950: '#000000',
  },
}
SCSS
$custom: #8d7826;
$custom-light: #b29e66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7826",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 47.767,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.10229,
    "h": 94.4
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#8D7826
secondary
#576BB8
accent
#66E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7826

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

Preview Lab → · Contrast checker → · Palette generator →

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