#9B8323#9B8323

#9B8323 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.114 H 94.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9B8323
RGBrgb(155, 131, 35)
HSLhsl(48, 63%, 37%)
HSVhsv(48, 77%, 61%)
CMYKcmyk(0%, 15.5%, 77.4%, 39.2%)
CIE-LABlab(55.40, -1.07, 51.80)
CIE-LCHlch(55.40, 51.81, 91.18°)
OKLaboklab(61.53% -0.0085 0.1135)
OKLCHoklch(61.53% 0.114 94.3)
XYZxyz(21.9384, 23.3238, 4.9362)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8323 #233B9B
analogous
#9B4723 #9B8323 #779B23
triadic
#9B8323 #239B83 #83239B
tetradic
#9B8323 #239B47 #233B9B #9B2377
square
#9B8323 #239B47 #233B9B #9B2377
split-complementary
#9B8323 #23779B #47239B
monochromatic
#372F0C #695918 #9B8323 #CDAD2E #DBC25E

Accessibility & contrast

On white

3.71
#9B8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9B8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8323
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8323#FFFFFF#000000##000000
##9B83231.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928011
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A87870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b8323;
/* rgb */ color: rgb(155, 131, 35);
/* oklch */ color: oklch(61.5% 0.114 94.3);
Tailwind
colors: {
  custom: {
    50: '#bca666',
    500: '#9b8323',
    950: '#000000',
  },
}
SCSS
$custom: #9b8323;
$custom-light: #bca666;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8323",
  "rgb": {
    "r": 155,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 48,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61525,
    "c": 0.11379,
    "h": 94.3
  },
  "luminance": 0.23323
}

Semantic roles & 50–950 ramp

primary
#9B8323
secondary
#5A6FBF
accent
#63E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B8323

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

Preview Lab → · Contrast checker → · Palette generator →

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