#8D7E29#8D7E29

#8D7E29 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.105 H 99.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D7E29
RGBrgb(141, 126, 41)
HSLhsl(51, 55%, 36%)
HSVhsv(51, 71%, 55%)
CMYKcmyk(0%, 10.6%, 70.9%, 44.7%)
CIE-LABlab(52.67, -4.43, 46.26)
CIE-LCHlch(52.67, 46.47, 95.47°)
OKLaboklab(59.05% -0.0165 0.1035)
OKLCHoklch(59.05% 0.105 99.1)
XYZxyz(18.8465, 20.7454, 5.1089)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E29 #29388D
analogous
#8D4C29 #8D7E29 #6A8D29
triadic
#8D7E29 #298D7E #7E298D
tetradic
#8D7E29 #298D4C #29388D #8D296A
square
#8D7E29 #298D4C #29388D #8D296A
split-complementary
#8D7E29 #296A8D #4C298D
monochromatic
#2E290D #5E541B #8D7E29 #BCA837 #D1C060

Accessibility & contrast

On white

4.08
#8D7E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8D7E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E29
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E29#FFFFFF#000000##000000
##8D7E291.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1D
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7e29;
/* rgb */ color: rgb(141, 126, 41);
/* oklch */ color: oklch(59.0% 0.105 99.1);
Tailwind
colors: {
  custom: {
    50: '#b1a368',
    500: '#8d7e29',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e29;
$custom-light: #b1a368;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e29",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 51,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59049,
    "c": 0.1048,
    "h": 99.1
  },
  "luminance": 0.20745
}

Semantic roles & 50–950 ramp

primary
#8D7E29
secondary
#5B69B6
accent
#60DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7E29

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

Preview Lab → · Contrast checker → · Palette generator →

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