#8B831C#8B831C

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

Color values

HEX#8B831C
RGBrgb(139, 131, 28)
HSLhsl(56, 66%, 33%)
HSVhsv(56, 80%, 55%)
CMYKcmyk(0%, 5.8%, 79.9%, 45.5%)
CIE-LABlab(53.82, -8.73, 52.23)
CIE-LCHlch(53.82, 52.96, 99.49°)
OKLaboklab(59.89% -0.0299 0.1137)
OKLCHoklch(59.89% 0.118 104.8)
XYZxyz(18.9742, 21.8062, 4.3079)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B831C #1C248B
analogous
#8B4C1C #8B831C #5B8B1C
triadic
#8B831C #1C8B83 #831C8B
tetradic
#8B831C #1C8B4C #1C248B #8B1C5B
square
#8B831C #1C8B4C #1C248B #8B1C5B
split-complementary
#8B831C #1C5B8B #4C1C8B
monochromatic
#252307 #585312 #8B831C #BEB326 #DACF47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B831C#FFFFFF#000000##000000
##8B831C1.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)
#8F7E01
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#967970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b831c;
/* rgb */ color: rgb(139, 131, 28);
/* oklch */ color: oklch(59.9% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#b0a662',
    500: '#8b831c',
    950: '#000000',
  },
}
SCSS
$custom: #8b831c;
$custom-light: #b0a662;
$custom-dark: #000000;
JSON
{
  "hex": "#8b831c",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 55.676,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.11757,
    "h": 104.8
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

primary
#8B831C
secondary
#474FBC
accent
#4BE93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B831C

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

Preview Lab → · Contrast checker → · Palette generator →

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