#8D792C#8D792C

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

Color values

HEX#8D792C
RGBrgb(141, 121, 44)
HSLhsl(48, 52%, 36%)
HSVhsv(48, 69%, 55%)
CMYKcmyk(0%, 14.2%, 68.8%, 44.7%)
CIE-LABlab(51.29, -1.45, 43.51)
CIE-LCHlch(51.29, 43.54, 91.90°)
OKLaboklab(57.96% -0.0076 0.0982)
OKLCHoklch(57.96% 0.099 94.5)
XYZxyz(18.2774, 19.5203, 5.1875)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D792C #2C408D
analogous
#8D492C #8D792C #718D2C
triadic
#8D792C #2C8D79 #792C8D
tetradic
#8D792C #2C8D49 #2C408D #8D2C71
square
#8D792C #2C8D49 #2C408D #8D2C71
split-complementary
#8D792C #2C718D #492C8D
monochromatic
#30290F #5E511D #8D792C #BCA13B #CFB965

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D792C#FFFFFF#000000##000000
##8D792C1.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)
#867722
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#987069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d792c;
/* rgb */ color: rgb(141, 121, 44);
/* oklch */ color: oklch(58.0% 0.099 94.5);
Tailwind
colors: {
  custom: {
    50: '#b19f69',
    500: '#8d792c',
    950: '#000000',
  },
}
SCSS
$custom: #8d792c;
$custom-light: #b19f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d792c",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 47.629,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.09852,
    "h": 94.5
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#8D792C
secondary
#6071B5
accent
#6ADC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D792C

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

Preview Lab → · Contrast checker → · Palette generator →

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