#8B9331#8B9331

#8B9331 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 63.7% C 0.121 H 113.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8B9331
RGBrgb(139, 147, 49)
HSLhsl(65, 50%, 38%)
HSVhsv(65, 67%, 58%)
CMYKcmyk(5.4%, 0%, 66.7%, 42.4%)
CIE-LABlab(58.58, -16.18, 48.87)
CIE-LCHlch(58.58, 51.48, 108.32°)
OKLaboklab(63.74% -0.0487 0.1104)
OKLCHoklch(63.74% 0.121 113.8)
XYZxyz(21.6361, 26.5786, 6.8956)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9331 #393193
analogous
#936A31 #8B9331 #5A9331
triadic
#8B9331 #318B93 #93318B
tetradic
#8B9331 #31936A #393193 #93315A
square
#8B9331 #31936A #393193 #93315A
split-complementary
#8B9331 #315A93 #6A3193
monochromatic
#343712 #606522 #8B9331 #B5C041 #C7CF6F

Accessibility & contrast

On white

3.33
#8B9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8B9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9331
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9331#FFFFFF#000000##000000
##8B93311.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C24
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#948A7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b9331;
/* rgb */ color: rgb(139, 147, 49);
/* oklch */ color: oklch(63.7% 0.121 113.8);
Tailwind
colors: {
  custom: {
    50: '#b0b26f',
    500: '#8b9331',
    950: '#000000',
  },
}
SCSS
$custom: #8b9331;
$custom-light: #b0b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9331",
  "rgb": {
    "r": 139,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 64.898,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63738,
    "c": 0.12069,
    "h": 113.8
  },
  "luminance": 0.26578
}

Semantic roles & 50–950 ramp

primary
#8B9331
secondary
#6F69B7
accent
#4EDA5A
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8B9331

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

Preview Lab → · Contrast checker → · Palette generator →

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