#8B792A#8B792A

#8B792A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.100 H 96.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8B792A
RGBrgb(139, 121, 42)
HSLhsl(49, 54%, 35%)
HSVhsv(49, 70%, 55%)
CMYKcmyk(0%, 12.9%, 69.8%, 45.5%)
CIE-LABlab(51.07, -2.49, 44.13)
CIE-LCHlch(51.07, 44.20, 93.23°)
OKLaboklab(57.74% -0.0108 0.0992)
OKLCHoklch(57.74% 0.1 96.2)
XYZxyz(17.9036, 19.3318, 4.9784)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B792A #2A3C8B
analogous
#8B482A #8B792A #6C8B2A
triadic
#8B792A #2A8B79 #792A8B
tetradic
#8B792A #2A8B48 #2A3C8B #8B2A6C
square
#8B792A #2A8B48 #2A3C8B #8B2A6C
split-complementary
#8B792A #2A6C8B #482A8B
monochromatic
#2D270E #5C501C #8B792A #BAA238 #CFBB60

Accessibility & contrast

On white

4.32
#8B792A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B792A#FFFFFF#000000##000000
##8B792A1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b792a;
/* rgb */ color: rgb(139, 121, 42);
/* oklch */ color: oklch(57.7% 0.100 96.2);
Tailwind
colors: {
  custom: {
    50: '#b09f68',
    500: '#8b792a',
    950: '#000000',
  },
}
SCSS
$custom: #8b792a;
$custom-light: #b09f68;
$custom-dark: #000000;
JSON
{
  "hex": "#8b792a",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 48.866,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.09981,
    "h": 96.2
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#8B792A
secondary
#5C6CB5
accent
#66DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B792A

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

Preview Lab → · Contrast checker → · Palette generator →

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