#8B792D#8B792D

#8B792D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.097 H 95.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8B792D
RGBrgb(139, 121, 45)
HSLhsl(49, 51%, 36%)
HSVhsv(49, 68%, 55%)
CMYKcmyk(0%, 12.9%, 67.6%, 45.5%)
CIE-LABlab(51.10, -2.30, 42.79)
CIE-LCHlch(51.10, 42.85, 93.08°)
OKLaboklab(57.77% -0.0099 0.0969)
OKLCHoklch(57.77% 0.097 95.8)
XYZxyz(17.9593, 19.3541, 5.2719)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B792D #2D3F8B
analogous
#8B4A2D #8B792D #6E8B2D
triadic
#8B792D #2D8B79 #792D8B
tetradic
#8B792D #2D8B4A #2D3F8B #8B2D6E
square
#8B792D #2D8B4A #2D3F8B #8B2D6E
split-complementary
#8B792D #2D6E8B #4A2D8B
monochromatic
#2F290F #5D511E #8B792D #B9A13C #CDB965

Accessibility & contrast

On white

4.31
#8B792D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8B792D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B792D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B792D#FFFFFF#000000##000000
##8B792D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#967069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b792d;
/* rgb */ color: rgb(139, 121, 45);
/* oklch */ color: oklch(57.8% 0.097 95.8);
Tailwind
colors: {
  custom: {
    50: '#b09f6a',
    500: '#8b792d',
    950: '#000000',
  },
}
SCSS
$custom: #8b792d;
$custom-light: #b09f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b792d",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 48.511,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.09743,
    "h": 95.8
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#8B792D
secondary
#6070B4
accent
#68DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8B792D

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

Preview Lab → · Contrast checker → · Palette generator →

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