#8B792E#8B792E

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

Color values

HEX#8B792E
RGBrgb(139, 121, 46)
HSLhsl(48, 50%, 36%)
HSVhsv(48, 67%, 55%)
CMYKcmyk(0%, 12.9%, 66.9%, 45.5%)
CIE-LABlab(51.11, -2.24, 42.34)
CIE-LCHlch(51.11, 42.40, 93.03°)
OKLaboklab(57.78% -0.0095 0.0961)
OKLCHoklch(57.78% 0.097 95.7)
XYZxyz(17.9788, 19.3619, 5.3745)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B792E #2E408B
analogous
#8B4B2E #8B792E #6F8B2E
triadic
#8B792E #2E8B79 #792E8B
tetradic
#8B792E #2E8B4B #2E408B #8B2E6F
square
#8B792E #2E8B4B #2E408B #8B2E6F
split-complementary
#8B792E #2E6F8B #4B2E8B
monochromatic
#2F2910 #5D511F #8B792E #B9A13D #CDB967

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B792E#FFFFFF#000000##000000
##8B792E1.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)
#857625
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#967069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b792e;
/* rgb */ color: rgb(139, 121, 46);
/* oklch */ color: oklch(57.8% 0.097 95.7);
Tailwind
colors: {
  custom: {
    50: '#b09f6a',
    500: '#8b792e',
    950: '#000000',
  },
}
SCSS
$custom: #8b792e;
$custom-light: #b09f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b792e",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 48.387,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.09661,
    "h": 95.7
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#8B792E
secondary
#6171B3
accent
#69DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8B792E

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

Preview Lab → · Contrast checker → · Palette generator →

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