#8D791E#8D791E

#8D791E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.9% C 0.108 H 96.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D791E
RGBrgb(141, 121, 30)
HSLhsl(49, 65%, 34%)
HSVhsv(49, 79%, 55%)
CMYKcmyk(0%, 14.2%, 78.7%, 44.7%)
CIE-LABlab(51.19, -2.17, 49.20)
CIE-LCHlch(51.19, 49.25, 92.53°)
OKLaboklab(57.85% -0.0114 0.1075)
OKLCHoklch(57.85% 0.108 96)
XYZxyz(18.0572, 19.4322, 4.0277)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D791E #1E328D
analogous
#8D411E #8D791E #698D1E
triadic
#8D791E #1E8D79 #791E8D
tetradic
#8D791E #1E8D41 #1E328D #8D1E69
square
#8D791E #1E8D41 #1E328D #8D1E69
split-complementary
#8D791E #1E698D #411E8D
monochromatic
#282209 #5B4E13 #8D791E #BFA429 #D9C04C

Accessibility & contrast

On white

4.30
#8D791E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8D791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D791E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D791E#FFFFFF#000000##000000
##8D791E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#996F68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d791e;
/* rgb */ color: rgb(141, 121, 30);
/* oklch */ color: oklch(57.9% 0.108 96.0);
Tailwind
colors: {
  custom: {
    50: '#b29f62',
    500: '#8d791e',
    950: '#000000',
  },
}
SCSS
$custom: #8d791e;
$custom-light: #b29f62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d791e",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 49.189,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.10814,
    "h": 96
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#8D791E
secondary
#4B5FBC
accent
#5EE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D791E

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

Preview Lab → · Contrast checker → · Palette generator →

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