#8B831E#8B831E

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

Color values

HEX#8B831E
RGBrgb(139, 131, 30)
HSLhsl(56, 64%, 33%)
HSVhsv(56, 78%, 55%)
CMYKcmyk(0%, 5.8%, 78.4%, 45.5%)
CIE-LABlab(53.83, -8.65, 51.57)
CIE-LCHlch(53.83, 52.29, 99.52°)
OKLaboklab(59.9% -0.0295 0.1127)
OKLCHoklch(59.9% 0.116 104.7)
XYZxyz(18.9989, 21.8161, 4.4382)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B831E #1E268B
analogous
#8B4C1E #8B831E #5C8B1E
triadic
#8B831E #1E8B83 #831E8B
tetradic
#8B831E #1E8B4C #1E268B #8B1E5C
square
#8B831E #1E8B4C #1E268B #8B1E5C
split-complementary
#8B831E #1E5C8B #4C1E8B
monochromatic
#262408 #595413 #8B831E #BDB229 #D8CE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B831E#FFFFFF#000000##000000
##8B831E1.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)
#8F7E06
Deuteranopia (green-blind)
#928326
Tritanopia (blue-blind)
#967A70
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b831e;
/* rgb */ color: rgb(139, 131, 30);
/* oklch */ color: oklch(59.9% 0.116 104.7);
Tailwind
colors: {
  custom: {
    50: '#b0a663',
    500: '#8b831e',
    950: '#000000',
  },
}
SCSS
$custom: #8b831e;
$custom-light: #b0a663;
$custom-dark: #000000;
JSON
{
  "hex": "#8b831e",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 55.596,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59904,
    "c": 0.11649,
    "h": 104.7
  },
  "luminance": 0.21815
}

Semantic roles & 50–950 ramp

primary
#8B831E
secondary
#4A52BB
accent
#4DE740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B831E

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

Preview Lab → · Contrast checker → · Palette generator →

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