#8D7C26#8D7C26

#8D7C26 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.105 H 97.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D7C26
RGBrgb(141, 124, 38)
HSLhsl(50, 58%, 35%)
HSVhsv(50, 73%, 55%)
CMYKcmyk(0%, 12.1%, 73%, 44.7%)
CIE-LABlab(52.08, -3.47, 46.93)
CIE-LCHlch(52.08, 47.06, 94.23°)
OKLaboklab(58.58% -0.0142 0.1044)
OKLCHoklch(58.58% 0.105 97.7)
XYZxyz(18.5429, 20.2189, 4.7593)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C26 #26378D
analogous
#8D4826 #8D7C26 #6B8D26
triadic
#8D7C26 #268D7C #7C268D
tetradic
#8D7C26 #268D48 #26378D #8D266B
square
#8D7C26 #268D48 #26378D #8D266B
split-complementary
#8D7C26 #266B8D #48268D
monochromatic
#2D270C #5D5219 #8D7C26 #BDA633 #D3BF5B

Accessibility & contrast

On white

4.16
#8D7C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D7C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C26
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C26#FFFFFF#000000##000000
##8D7C261.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897919
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#98726B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c26;
/* rgb */ color: rgb(141, 124, 38);
/* oklch */ color: oklch(58.6% 0.105 97.7);
Tailwind
colors: {
  custom: {
    50: '#b2a166',
    500: '#8d7c26',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c26;
$custom-light: #b2a166;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c26",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 50.097,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.10531,
    "h": 97.7
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#8D7C26
secondary
#5767B8
accent
#60E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7C26

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

Preview Lab → · Contrast checker → · Palette generator →

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