#9B915E#9B915E

#9B915E is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.071 H 98.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9B915E
RGBrgb(155, 145, 94)
HSLhsl(50, 24%, 49%)
HSVhsv(50, 39%, 61%)
CMYKcmyk(0%, 6.5%, 39.4%, 39.2%)
CIE-LABlab(59.91, -4.05, 28.41)
CIE-LCHlch(59.91, 28.70, 98.11°)
OKLaboklab(65.3% -0.0104 0.0698)
OKLCHoklch(65.3% 0.071 98.5)
XYZxyz(25.6638, 28.0283, 14.6456)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B915E #5E689B
analogous
#9B735E #9B915E #879B5E
triadic
#9B915E #5E9B91 #915E9B
tetradic
#9B915E #5E9B73 #5E689B #9B5E87
square
#9B915E #5E9B73 #5E689B #9B5E87
split-complementary
#9B915E #5E879B #735E9B
monochromatic
#4F4A30 #756D47 #9B915E #B4AC83 #CBC5A9

Accessibility & contrast

On white

3.18
#9B915E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9B915E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B915E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B915E#FFFFFF#000000##000000
##9B915E1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8E5A
Deuteranopia (green-blind)
#9D9260
Tritanopia (blue-blind)
#A48A84
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b915e;
/* rgb */ color: rgb(155, 145, 94);
/* oklch */ color: oklch(65.3% 0.071 98.5);
Tailwind
colors: {
  custom: {
    50: '#b9b18c',
    500: '#9b915e',
    950: '#000000',
  },
}
SCSS
$custom: #9b915e;
$custom-light: #b9b18c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b915e",
  "rgb": {
    "r": 155,
    "g": 145,
    "b": 94
  },
  "hsl": {
    "h": 50.164,
    "s": 24.498,
    "l": 48.824
  },
  "oklch": {
    "l": 0.65304,
    "c": 0.07058,
    "h": 98.5
  },
  "luminance": 0.28028
}

Semantic roles & 50–950 ramp

primary
#9B915E
secondary
#9CA1B9
accent
#76C167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9B915E

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

Preview Lab → · Contrast checker → · Palette generator →

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