#8D7D29#8D7D29

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

Color values

HEX#8D7D29
RGBrgb(141, 125, 41)
HSLhsl(50, 55%, 36%)
HSVhsv(50, 71%, 55%)
CMYKcmyk(0%, 11.3%, 70.9%, 44.7%)
CIE-LABlab(52.39, -3.87, 45.97)
CIE-LCHlch(52.39, 46.14, 94.81°)
OKLaboklab(58.83% -0.0149 0.1029)
OKLCHoklch(58.83% 0.104 98.3)
XYZxyz(18.7192, 20.4910, 5.0665)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D29 #29398D
analogous
#8D4B29 #8D7D29 #6B8D29
triadic
#8D7D29 #298D7D #7D298D
tetradic
#8D7D29 #298D4B #29398D #8D296B
square
#8D7D29 #298D4B #29398D #8D296B
split-complementary
#8D7D29 #296B8D #4B298D
monochromatic
#2E290D #5E531B #8D7D29 #BCA737 #D1BF60

Accessibility & contrast

On white

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

On black

5.10
#8D7D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D29
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D29#FFFFFF#000000##000000
##8D7D291.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1D
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d29;
/* rgb */ color: rgb(141, 125, 41);
/* oklch */ color: oklch(58.8% 0.104 98.3);
Tailwind
colors: {
  custom: {
    50: '#b1a268',
    500: '#8d7d29',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d29;
$custom-light: #b1a268;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d29",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 50.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.10397,
    "h": 98.3
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#8D7D29
secondary
#5B6AB6
accent
#61DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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