#8B8328#8B8328

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

Color values

HEX#8B8328
RGBrgb(139, 131, 40)
HSLhsl(55, 55%, 35%)
HSVhsv(55, 71%, 55%)
CMYKcmyk(0%, 5.8%, 71.2%, 45.5%)
CIE-LABlab(53.89, -8.16, 47.85)
CIE-LCHlch(53.89, 48.54, 99.68°)
OKLaboklab(59.97% -0.0271 0.1067)
OKLCHoklch(59.97% 0.11 104.3)
XYZxyz(19.1475, 21.8755, 5.2209)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8328 #28308B
analogous
#8B5228 #8B8328 #618B28
triadic
#8B8328 #288B83 #83288B
tetradic
#8B8328 #288B52 #28308B #8B2861
square
#8B8328 #288B52 #28308B #8B2861
split-complementary
#8B8328 #28618B #52288B
monochromatic
#2C290D #5B561A #8B8328 #BBB036 #D0C75D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8328#FFFFFF#000000##000000
##8B83281.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)
#8F7E1A
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#967A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8328;
/* rgb */ color: rgb(139, 131, 40);
/* oklch */ color: oklch(60.0% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#b0a668',
    500: '#8b8328',
    950: '#000000',
  },
}
SCSS
$custom: #8b8328;
$custom-light: #b0a668;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8328",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 55.152,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.11012,
    "h": 104.3
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#8B8328
secondary
#5961B6
accent
#55DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8328

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

Preview Lab → · Contrast checker → · Palette generator →

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