#9B915F#9B915F

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

Color values

HEX#9B915F
RGBrgb(155, 145, 95)
HSLhsl(50, 24%, 49%)
HSVhsv(50, 39%, 61%)
CMYKcmyk(0%, 6.5%, 38.7%, 39.2%)
CIE-LABlab(59.93, -3.93, 27.89)
CIE-LCHlch(59.93, 28.16, 98.02°)
OKLaboklab(65.32% -0.01 0.0686)
OKLCHoklch(65.32% 0.069 98.3)
XYZxyz(25.7090, 28.0463, 14.8835)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B915F #5F699B
analogous
#9B735F #9B915F #879B5F
triadic
#9B915F #5F9B91 #915F9B
tetradic
#9B915F #5F9B73 #5F699B #9B5F87
square
#9B915F #5F9B73 #5F699B #9B5F87
split-complementary
#9B915F #5F879B #735F9B
monochromatic
#4F4A30 #756E48 #9B915F #B3AC84 #CBC5AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B915F#FFFFFF#000000##000000
##9B915F1.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)
#9A8E5B
Deuteranopia (green-blind)
#9D9261
Tritanopia (blue-blind)
#A48A84
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b915f;
/* rgb */ color: rgb(155, 145, 95);
/* oklch */ color: oklch(65.3% 0.069 98.3);
Tailwind
colors: {
  custom: {
    50: '#b9b18d',
    500: '#9b915f',
    950: '#000000',
  },
}
SCSS
$custom: #9b915f;
$custom-light: #b9b18d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b915f",
  "rgb": {
    "r": 155,
    "g": 145,
    "b": 95
  },
  "hsl": {
    "h": 50,
    "s": 24,
    "l": 49.02
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.06936,
    "h": 98.3
  },
  "luminance": 0.28046
}

Semantic roles & 50–950 ramp

primary
#9B915F
secondary
#9DA1B9
accent
#76C067
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9B915F

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

Preview Lab → · Contrast checker → · Palette generator →

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