#8B791E#8B791E

#8B791E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.108 H 97.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8B791E
RGBrgb(139, 121, 30)
HSLhsl(50, 64%, 33%)
HSVhsv(50, 78%, 55%)
CMYKcmyk(0%, 12.9%, 78.4%, 45.5%)
CIE-LABlab(50.99, -3.11, 48.95)
CIE-LCHlch(50.99, 49.04, 93.63°)
OKLaboklab(57.65% -0.0139 0.1071)
OKLCHoklch(57.65% 0.108 97.4)
XYZxyz(17.7201, 19.2584, 4.0119)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B791E #1E308B
analogous
#8B421E #8B791E #668B1E
triadic
#8B791E #1E8B79 #791E8B
tetradic
#8B791E #1E8B42 #1E308B #8B1E66
square
#8B791E #1E8B42 #1E308B #8B1E66
split-complementary
#8B791E #1E668B #421E8B
monochromatic
#262108 #594D13 #8B791E #BDA529 #D8C14B

Accessibility & contrast

On white

4.33
#8B791E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8B791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B791E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B791E#FFFFFF#000000##000000
##8B791E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#966F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b791e;
/* rgb */ color: rgb(139, 121, 30);
/* oklch */ color: oklch(57.6% 0.108 97.4);
Tailwind
colors: {
  custom: {
    50: '#b09f62',
    500: '#8b791e',
    950: '#000000',
  },
}
SCSS
$custom: #8b791e;
$custom-light: #b09f62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b791e",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 50.092,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57646,
    "c": 0.10798,
    "h": 97.4
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#8B791E
secondary
#4A5DBB
accent
#5CE740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B791E

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

Preview Lab → · Contrast checker → · Palette generator →

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