#8D792B#8D792B

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

Color values

HEX#8D792B
RGBrgb(141, 121, 43)
HSLhsl(48, 53%, 36%)
HSVhsv(48, 70%, 55%)
CMYKcmyk(0%, 14.2%, 69.5%, 44.7%)
CIE-LABlab(51.28, -1.51, 43.96)
CIE-LCHlch(51.28, 43.98, 91.96°)
OKLaboklab(57.96% -0.008 0.099)
OKLCHoklch(57.96% 0.099 94.6)
XYZxyz(18.2588, 19.5129, 5.0897)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D792B #2B3F8D
analogous
#8D482B #8D792B #708D2B
triadic
#8D792B #2B8D79 #792B8D
tetradic
#8D792B #2B8D48 #2B3F8D #8D2B70
square
#8D792B #2B8D48 #2B3F8D #8D2B70
split-complementary
#8D792B #2B708D #482B8D
monochromatic
#2F290E #5E511D #8D792B #BCA139 #CFB963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D792B#FFFFFF#000000##000000
##8D792B1.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)
#867721
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#987069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d792b;
/* rgb */ color: rgb(141, 121, 43);
/* oklch */ color: oklch(58.0% 0.099 94.6);
Tailwind
colors: {
  custom: {
    50: '#b19f69',
    500: '#8d792b',
    950: '#000000',
  },
}
SCSS
$custom: #8d792b;
$custom-light: #b19f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d792b",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 47.755,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.09931,
    "h": 94.6
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#8D792B
secondary
#5E70B6
accent
#69DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D792B

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

Preview Lab → · Contrast checker → · Palette generator →

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