#9B9863#9B9863

#9B9863 is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.9% C 0.072 H 105.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9B9863
RGBrgb(155, 152, 99)
HSLhsl(57, 22%, 50%)
HSVhsv(57, 36%, 61%)
CMYKcmyk(0%, 1.9%, 36.1%, 39.2%)
CIE-LABlab(61.93, -7.25, 28.32)
CIE-LCHlch(61.93, 29.23, 104.36°)
OKLaboklab(66.93% -0.0192 0.0698)
OKLCHoklch(66.93% 0.072 105.4)
XYZxyz(26.9983, 30.3265, 16.2333)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9863 #63669B
analogous
#9B7C63 #9B9863 #829B63
triadic
#9B9863 #639B98 #98639B
tetradic
#9B9863 #639B7C #63669B #9B6382
square
#9B9863 #639B7C #63669B #9B6382
split-complementary
#9B9863 #63829B #7C639B
monochromatic
#504F33 #76734B #9B9863 #B3B188 #CBC9AD

Accessibility & contrast

On white

2.97
#9B9863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9B9863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9863
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9863#FFFFFF#000000##000000
##9B98631.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945F
Deuteranopia (green-blind)
#A29765
Tritanopia (blue-blind)
#A3918B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b9863;
/* rgb */ color: rgb(155, 152, 99);
/* oklch */ color: oklch(66.9% 0.072 105.4);
Tailwind
colors: {
  custom: {
    50: '#b9b690',
    500: '#9b9863',
    950: '#000000',
  },
}
SCSS
$custom: #9b9863;
$custom-light: #b9b690;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9863",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 99
  },
  "hsl": {
    "h": 56.786,
    "s": 22.047,
    "l": 49.804
  },
  "oklch": {
    "l": 0.66931,
    "c": 0.07241,
    "h": 105.4
  },
  "luminance": 0.30326
}

Semantic roles & 50–950 ramp

primary
#9B9863
secondary
#A0A2BA
accent
#6EBF69
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #9B9863

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

Preview Lab → · Contrast checker → · Palette generator →

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