#9B8622#9B8622

#9B8622 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.116 H 96.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9B8622
RGBrgb(155, 134, 34)
HSLhsl(50, 64%, 37%)
HSVhsv(50, 78%, 61%)
CMYKcmyk(0%, 13.5%, 78.1%, 39.2%)
CIE-LABlab(56.22, -2.77, 52.92)
CIE-LCHlch(56.22, 53.00, 93.00°)
OKLaboklab(62.17% -0.0134 0.1157)
OKLCHoklch(62.17% 0.116 96.6)
XYZxyz(22.3326, 24.1355, 4.9954)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8622 #22379B
analogous
#9B4A22 #9B8622 #749B22
triadic
#9B8622 #229B86 #86229B
tetradic
#9B8622 #229B4A #22379B #9B2274
square
#9B8622 #229B4A #22379B #9B2274
split-complementary
#9B8622 #22749B #4A229B
monochromatic
#372F0C #695B17 #9B8622 #CDB12D #DBC55C

Accessibility & contrast

On white

3.60
#9B8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9B8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8622
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8622#FFFFFF#000000##000000
##9B86221.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b8622;
/* rgb */ color: rgb(155, 134, 34);
/* oklch */ color: oklch(62.2% 0.116 96.6);
Tailwind
colors: {
  custom: {
    50: '#bca866',
    500: '#9b8622',
    950: '#000000',
  },
}
SCSS
$custom: #9b8622;
$custom-light: #bca866;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8622",
  "rgb": {
    "r": 155,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 49.587,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62171,
    "c": 0.11644,
    "h": 96.6
  },
  "luminance": 0.24134
}

Semantic roles & 50–950 ramp

primary
#9B8622
secondary
#596BC0
accent
#5EE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B8622

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

Preview Lab → · Contrast checker → · Palette generator →

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