#8D792D#8D792D

#8D792D is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 58.0% C 0.098 H 94.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D792D
RGBrgb(141, 121, 45)
HSLhsl(48, 52%, 36%)
HSVhsv(48, 68%, 55%)
CMYKcmyk(0%, 14.2%, 68.1%, 44.7%)
CIE-LABlab(51.30, -1.38, 43.07)
CIE-LCHlch(51.30, 43.09, 91.84°)
OKLaboklab(57.97% -0.0073 0.0975)
OKLCHoklch(57.97% 0.098 94.3)
XYZxyz(18.2964, 19.5279, 5.2877)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D792D #2D418D
analogous
#8D492D #8D792D #718D2D
triadic
#8D792D #2D8D79 #792D8D
tetradic
#8D792D #2D8D49 #2D418D #8D2D71
square
#8D792D #2D8D49 #2D418D #8D2D71
split-complementary
#8D792D #2D718D #492D8D
monochromatic
#30290F #5F511E #8D792D #BBA13C #CEB966

Accessibility & contrast

On white

4.28
#8D792D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D792D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D792D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D792D#FFFFFF#000000##000000
##8D792D1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857724
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#987069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d792d;
/* rgb */ color: rgb(141, 121, 45);
/* oklch */ color: oklch(58.0% 0.098 94.3);
Tailwind
colors: {
  custom: {
    50: '#b19f6a',
    500: '#8d792d',
    950: '#000000',
  },
}
SCSS
$custom: #8d792d;
$custom-light: #b19f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d792d",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 47.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.09773,
    "h": 94.3
  },
  "luminance": 0.19527
}

Semantic roles & 50–950 ramp

primary
#8D792D
secondary
#6172B5
accent
#6ADB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D792D

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

Preview Lab → · Contrast checker → · Palette generator →

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