#8D7F29#8D7F29

#8D7F29 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.106 H 99.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D7F29
RGBrgb(141, 127, 41)
HSLhsl(52, 55%, 36%)
HSVhsv(52, 71%, 55%)
CMYKcmyk(0%, 9.9%, 70.9%, 44.7%)
CIE-LABlab(52.95, -4.98, 46.55)
CIE-LCHlch(52.95, 46.81, 96.11°)
OKLaboklab(59.27% -0.0181 0.1041)
OKLCHoklch(59.27% 0.106 99.9)
XYZxyz(18.9750, 21.0024, 5.1518)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F29 #29378D
analogous
#8D4D29 #8D7F29 #698D29
triadic
#8D7F29 #298D7F #7F298D
tetradic
#8D7F29 #298D4D #29378D #8D2969
square
#8D7F29 #298D4D #29378D #8D2969
split-complementary
#8D7F29 #29698D #4D298D
monochromatic
#2E2A0D #5E541B #8D7F29 #BCAA37 #D1C160

Accessibility & contrast

On white

4.04
#8D7F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8D7F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F29
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F29#FFFFFF#000000##000000
##8D7F291.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f29;
/* rgb */ color: rgb(141, 127, 41);
/* oklch */ color: oklch(59.3% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#b1a368',
    500: '#8d7f29',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f29;
$custom-light: #b1a368;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f29",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 51.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.10567,
    "h": 99.9
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#8D7F29
secondary
#5B68B6
accent
#5EDE4A
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D7F29

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

Preview Lab → · Contrast checker → · Palette generator →

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