#8B792F#8B792F

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

Color values

HEX#8B792F
RGBrgb(139, 121, 47)
HSLhsl(48, 49%, 36%)
HSVhsv(48, 66%, 55%)
CMYKcmyk(0%, 12.9%, 66.2%, 45.5%)
CIE-LABlab(51.12, -2.17, 41.88)
CIE-LCHlch(51.12, 41.94, 92.97°)
OKLaboklab(57.79% -0.0092 0.0953)
OKLCHoklch(57.79% 0.096 95.5)
XYZxyz(17.9987, 19.3698, 5.4795)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B792F #2F418B
analogous
#8B4B2F #8B792F #6F8B2F
triadic
#8B792F #2F8B79 #792F8B
tetradic
#8B792F #2F8B4B #2F418B #8B2F6F
square
#8B792F #2F8B4B #2F418B #8B2F6F
split-complementary
#8B792F #2F6F8B #4B2F8B
monochromatic
#302910 #5D5120 #8B792F #B9A13E #CCB968

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B792F#FFFFFF#000000##000000
##8B792F1.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)
#857626
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#967069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b792f;
/* rgb */ color: rgb(139, 121, 47);
/* oklch */ color: oklch(57.8% 0.096 95.5);
Tailwind
colors: {
  custom: {
    50: '#b09f6b',
    500: '#8b792f',
    950: '#000000',
  },
}
SCSS
$custom: #8b792f;
$custom-light: #b09f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b792f",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 48.261,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.09578,
    "h": 95.5
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#8B792F
secondary
#6372B3
accent
#6AD94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8B792F

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

Preview Lab → · Contrast checker → · Palette generator →

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