#8B8326#8B8326

#8B8326 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.112 H 104.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B8326
RGBrgb(139, 131, 38)
HSLhsl(55, 57%, 35%)
HSVhsv(55, 73%, 55%)
CMYKcmyk(0%, 5.8%, 72.7%, 45.5%)
CIE-LABlab(53.88, -8.27, 48.64)
CIE-LCHlch(53.88, 49.34, 99.65°)
OKLaboklab(59.96% -0.0276 0.108)
OKLCHoklch(59.96% 0.112 104.4)
XYZxyz(19.1144, 21.8623, 5.0463)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8326 #262E8B
analogous
#8B5126 #8B8326 #608B26
triadic
#8B8326 #268B83 #83268B
tetradic
#8B8326 #268B51 #262E8B #8B2660
square
#8B8326 #268B51 #262E8B #8B2660
split-complementary
#8B8326 #26608B #51268B
monochromatic
#2B280C #5B5619 #8B8326 #BBB033 #D2C85A

Accessibility & contrast

On white

3.91
#8B8326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8B8326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8326
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8326#FFFFFF#000000##000000
##8B83261.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#967A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8326;
/* rgb */ color: rgb(139, 131, 38);
/* oklch */ color: oklch(60.0% 0.112 104.4);
Tailwind
colors: {
  custom: {
    50: '#b0a667',
    500: '#8b8326',
    950: '#000000',
  },
}
SCSS
$custom: #8b8326;
$custom-light: #b0a667;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8326",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 55.248,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.11152,
    "h": 104.4
  },
  "luminance": 0.21862
}

Semantic roles & 50–950 ramp

primary
#8B8326
secondary
#565EB7
accent
#54E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8326

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

Preview Lab → · Contrast checker → · Palette generator →

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