#8D792A#8D792A

#8D792A is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.100 H 94.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D792A
RGBrgb(141, 121, 42)
HSLhsl(48, 54%, 36%)
HSVhsv(48, 70%, 55%)
CMYKcmyk(0%, 14.2%, 70.2%, 44.7%)
CIE-LABlab(51.27, -1.57, 44.40)
CIE-LCHlch(51.27, 44.42, 92.02°)
OKLaboklab(57.95% -0.0082 0.0997)
OKLCHoklch(57.95% 0.1 94.7)
XYZxyz(18.2407, 19.5056, 4.9942)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D792A #2A3E8D
analogous
#8D472A #8D792A #6F8D2A
triadic
#8D792A #2A8D79 #792A8D
tetradic
#8D792A #2A8D47 #2A3E8D #8D2A6F
square
#8D792A #2A8D47 #2A3E8D #8D2A6F
split-complementary
#8D792A #2A6F8D #472A8D
monochromatic
#2F280E #5E511C #8D792A #BCA138 #D0BA61

Accessibility & contrast

On white

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

On black

4.90
#8D792A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D792A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D792A#FFFFFF#000000##000000
##8D792A1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d792a;
/* rgb */ color: rgb(141, 121, 42);
/* oklch */ color: oklch(57.9% 0.100 94.7);
Tailwind
colors: {
  custom: {
    50: '#b19f68',
    500: '#8d792a',
    950: '#000000',
  },
}
SCSS
$custom: #8d792a;
$custom-light: #b19f68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d792a",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 47.879,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.10008,
    "h": 94.7
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

primary
#8D792A
secondary
#5D6FB6
accent
#68DD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D792A

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

Preview Lab → · Contrast checker → · Palette generator →

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