#8B792B#8B792B

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

Color values

HEX#8B792B
RGBrgb(139, 121, 43)
HSLhsl(49, 53%, 36%)
HSVhsv(49, 69%, 55%)
CMYKcmyk(0%, 12.9%, 69.1%, 45.5%)
CIE-LABlab(51.08, -2.43, 43.69)
CIE-LCHlch(51.08, 43.75, 93.18°)
OKLaboklab(57.75% -0.0105 0.0985)
OKLCHoklch(57.75% 0.099 96.1)
XYZxyz(17.9217, 19.3390, 5.0738)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B792B #2B3D8B
analogous
#8B492B #8B792B #6D8B2B
triadic
#8B792B #2B8B79 #792B8B
tetradic
#8B792B #2B8B49 #2B3D8B #8B2B6D
square
#8B792B #2B8B49 #2B3D8B #8B2B6D
split-complementary
#8B792B #2B6D8B #492B8B
monochromatic
#2E280E #5C501D #8B792B #BAA239 #CEBA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B792B#FFFFFF#000000##000000
##8B792B1.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)
#857621
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#967069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b792b;
/* rgb */ color: rgb(139, 121, 43);
/* oklch */ color: oklch(57.7% 0.099 96.1);
Tailwind
colors: {
  custom: {
    50: '#b09f69',
    500: '#8b792b',
    950: '#000000',
  },
}
SCSS
$custom: #8b792b;
$custom-light: #b09f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8b792b",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 48.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.09904,
    "h": 96.1
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#8B792B
secondary
#5D6EB5
accent
#67DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B792B

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

Preview Lab → · Contrast checker → · Palette generator →

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