#9B8328#9B8328

#9B8328 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.111 H 93.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9B8328
RGBrgb(155, 131, 40)
HSLhsl(47, 59%, 38%)
HSVhsv(47, 74%, 61%)
CMYKcmyk(0%, 15.5%, 74.2%, 39.2%)
CIE-LABlab(55.44, -0.84, 49.89)
CIE-LCHlch(55.44, 49.90, 90.96°)
OKLaboklab(61.56% -0.0073 0.1104)
OKLCHoklch(61.56% 0.111 93.8)
XYZxyz(22.0180, 23.3556, 5.3554)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8328 #28409B
analogous
#9B4928 #9B8328 #799B28
triadic
#9B8328 #289B83 #83289B
tetradic
#9B8328 #289B49 #28409B #9B2879
square
#9B8328 #289B49 #28409B #9B2879
split-complementary
#9B8328 #28799B #49289B
monochromatic
#3A310F #6A5A1B #9B8328 #CBAC35 #D7C066

Accessibility & contrast

On white

3.70
#9B8328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9B8328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8328
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8328#FFFFFF#000000##000000
##9B83281.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811A
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#A87871
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b8328;
/* rgb */ color: rgb(155, 131, 40);
/* oklch */ color: oklch(61.6% 0.111 93.8);
Tailwind
colors: {
  custom: {
    50: '#bca668',
    500: '#9b8328',
    950: '#000000',
  },
}
SCSS
$custom: #9b8328;
$custom-light: #bca668;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8328",
  "rgb": {
    "r": 155,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 47.478,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.11068,
    "h": 93.8
  },
  "luminance": 0.23354
}

Semantic roles & 50–950 ramp

primary
#9B8328
secondary
#6175BD
accent
#66E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9B8328

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

Preview Lab → · Contrast checker → · Palette generator →

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