#8D791D#8D791D

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

Color values

HEX#8D791D
RGBrgb(141, 121, 29)
HSLhsl(49, 66%, 33%)
HSVhsv(49, 79%, 55%)
CMYKcmyk(0%, 14.2%, 79.4%, 44.7%)
CIE-LABlab(51.18, -2.21, 49.56)
CIE-LCHlch(51.18, 49.61, 92.56°)
OKLaboklab(57.85% -0.0116 0.1081)
OKLCHoklch(57.85% 0.109 96.1)
XYZxyz(18.0446, 19.4272, 3.9615)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D791D #1D318D
analogous
#8D411D #8D791D #698D1D
triadic
#8D791D #1D8D79 #791D8D
tetradic
#8D791D #1D8D41 #1D318D #8D1D69
square
#8D791D #1D8D41 #1D318D #8D1D69
split-complementary
#8D791D #1D698D #411D8D
monochromatic
#272208 #5A4D13 #8D791D #C0A527 #DAC04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D791D#FFFFFF#000000##000000
##8D791D1.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)
#867609
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#996F68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d791d;
/* rgb */ color: rgb(141, 121, 29);
/* oklch */ color: oklch(57.8% 0.109 96.1);
Tailwind
colors: {
  custom: {
    50: '#b29f61',
    500: '#8d791d',
    950: '#000000',
  },
}
SCSS
$custom: #8d791d;
$custom-light: #b29f61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d791d",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 49.286,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.10871,
    "h": 96.1
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#8D791D
secondary
#4A5EBC
accent
#5DE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8D791D

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

Preview Lab → · Contrast checker → · Palette generator →

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