#8D7D26#8D7D26

#8D7D26 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.106 H 98.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D7D26
RGBrgb(141, 125, 38)
HSLhsl(51, 58%, 35%)
HSVhsv(51, 73%, 55%)
CMYKcmyk(0%, 11.3%, 73%, 44.7%)
CIE-LABlab(52.37, -4.03, 47.21)
CIE-LCHlch(52.37, 47.38, 94.88°)
OKLaboklab(58.8% -0.0158 0.1049)
OKLCHoklch(58.8% 0.106 98.5)
XYZxyz(18.6689, 20.4708, 4.8013)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D26 #26368D
analogous
#8D4A26 #8D7D26 #698D26
triadic
#8D7D26 #268D7D #7D268D
tetradic
#8D7D26 #268D4A #26368D #8D2669
square
#8D7D26 #268D4A #26368D #8D2669
split-complementary
#8D7D26 #26698D #4A268D
monochromatic
#2D280C #5D5219 #8D7D26 #BDA833 #D3C05B

Accessibility & contrast

On white

4.12
#8D7D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8D7D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D26
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D26#FFFFFF#000000##000000
##8D7D261.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#98736C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d26;
/* rgb */ color: rgb(141, 125, 38);
/* oklch */ color: oklch(58.8% 0.106 98.5);
Tailwind
colors: {
  custom: {
    50: '#b2a266',
    500: '#8d7d26',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d26;
$custom-light: #b2a266;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d26",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 50.68,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.588,
    "c": 0.10612,
    "h": 98.5
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#8D7D26
secondary
#5766B8
accent
#5FE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7D26

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

Preview Lab → · Contrast checker → · Palette generator →

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