#8B831A#8B831A

#8B831A is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.119 H 104.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8B831A
RGBrgb(139, 131, 26)
HSLhsl(56, 68%, 32%)
HSVhsv(56, 81%, 55%)
CMYKcmyk(0%, 5.8%, 81.3%, 45.5%)
CIE-LABlab(53.81, -8.81, 52.86)
CIE-LCHlch(53.81, 53.59, 99.46°)
OKLaboklab(59.88% -0.0303 0.1146)
OKLCHoklch(59.88% 0.119 104.8)
XYZxyz(18.9511, 21.7969, 4.1861)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B831A #1A228B
analogous
#8B4A1A #8B831A #5B8B1A
triadic
#8B831A #1A8B83 #831A8B
tetradic
#8B831A #1A8B4A #1A228B #8B1A5B
square
#8B831A #1A8B4A #1A228B #8B1A5B
split-complementary
#8B831A #1A5B8B #4A1A8B
monochromatic
#242207 #575210 #8B831A #BFB424 #DCD143

Accessibility & contrast

On white

3.92
#8B831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8B831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B831A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B831A#FFFFFF#000000##000000
##8B831A1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#967970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b831a;
/* rgb */ color: rgb(139, 131, 26);
/* oklch */ color: oklch(59.9% 0.119 104.8);
Tailwind
colors: {
  custom: {
    50: '#b1a661',
    500: '#8b831a',
    950: '#000000',
  },
}
SCSS
$custom: #8b831a;
$custom-light: #b1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#8b831a",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 55.752,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.11858,
    "h": 104.8
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#8B831A
secondary
#444CBD
accent
#49EB3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B831A

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

Preview Lab → · Contrast checker → · Palette generator →

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