#8D792E#8D792E

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

Color values

HEX#8D792E
RGBrgb(141, 121, 46)
HSLhsl(47, 51%, 37%)
HSVhsv(47, 67%, 55%)
CMYKcmyk(0%, 14.2%, 67.4%, 44.7%)
CIE-LABlab(51.31, -1.32, 42.61)
CIE-LCHlch(51.31, 42.63, 91.77°)
OKLaboklab(57.98% -0.007 0.0967)
OKLCHoklch(57.98% 0.097 94.2)
XYZxyz(18.3159, 19.5357, 5.3903)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D792E #2E428D
analogous
#8D4A2E #8D792E #728D2E
triadic
#8D792E #2E8D79 #792E8D
tetradic
#8D792E #2E8D4A #2E428D #8D2E72
square
#8D792E #2E8D4A #2E428D #8D2E72
split-complementary
#8D792E #2E728D #4A2E8D
monochromatic
#312A10 #5F511F #8D792E #BBA13D #CEB868

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D792E#FFFFFF#000000##000000
##8D792E1.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)
#857725
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#987069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d792e;
/* rgb */ color: rgb(141, 121, 46);
/* oklch */ color: oklch(58.0% 0.097 94.2);
Tailwind
colors: {
  custom: {
    50: '#b19f6b',
    500: '#8d792e',
    950: '#000000',
  },
}
SCSS
$custom: #8d792e;
$custom-light: #b19f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d792e",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 47.368,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.09691,
    "h": 94.2
  },
  "luminance": 0.19535
}

Semantic roles & 50–950 ramp

primary
#8D792E
secondary
#6274B5
accent
#6BDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D792E

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

Preview Lab → · Contrast checker → · Palette generator →

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