#8B7822#8B7822

#8B7822 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.105 H 96.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8B7822
RGBrgb(139, 120, 34)
HSLhsl(49, 61%, 34%)
HSVhsv(49, 76%, 55%)
CMYKcmyk(0%, 13.7%, 75.5%, 45.5%)
CIE-LABlab(50.73, -2.36, 47.17)
CIE-LCHlch(50.73, 47.23, 92.86°)
OKLaboklab(57.45% -0.0114 0.1041)
OKLCHoklch(57.45% 0.105 96.2)
XYZxyz(17.6536, 19.0383, 4.2580)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7822 #22358B
analogous
#8B4422 #8B7822 #6A8B22
triadic
#8B7822 #228B78 #78228B
tetradic
#8B7822 #228B44 #22358B #8B226A
square
#8B7822 #228B44 #22358B #8B226A
split-complementary
#8B7822 #226A8B #44228B
monochromatic
#29230A #5A4E16 #8B7822 #BCA22E #D5BD53

Accessibility & contrast

On white

4.37
#8B7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8B7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7822
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7822#FFFFFF#000000##000000
##8B78221.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857514
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#966E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b7822;
/* rgb */ color: rgb(139, 120, 34);
/* oklch */ color: oklch(57.5% 0.105 96.2);
Tailwind
colors: {
  custom: {
    50: '#b09e64',
    500: '#8b7822',
    950: '#000000',
  },
}
SCSS
$custom: #8b7822;
$custom-light: #b09e64;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7822",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 49.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.10475,
    "h": 96.2
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#8B7822
secondary
#5063B8
accent
#61E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7822

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

Preview Lab → · Contrast checker → · Palette generator →

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