#9B915A#9B915A

#9B915A is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.2% C 0.075 H 99.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9B915A
RGBrgb(155, 145, 90)
HSLhsl(51, 27%, 48%)
HSVhsv(51, 42%, 61%)
CMYKcmyk(0%, 6.5%, 41.9%, 39.2%)
CIE-LABlab(59.85, -4.51, 30.50)
CIE-LCHlch(59.85, 30.83, 98.41°)
OKLaboklab(65.23% -0.012 0.0744)
OKLCHoklch(65.23% 0.075 99.2)
XYZxyz(25.4890, 27.9583, 13.7247)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B915A #5A649B
analogous
#9B705A #9B915A #849B5A
triadic
#9B915A #5A9B91 #915A9B
tetradic
#9B915A #5A9B70 #5A649B #9B5A84
square
#9B915A #5A9B70 #5A649B #9B5A84
split-complementary
#9B915A #5A849B #705A9B
monochromatic
#4E492D #746D44 #9B915A #B4AC7E #CBC5A5

Accessibility & contrast

On white

3.19
#9B915A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9B915A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B915A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B915A#FFFFFF#000000##000000
##9B915A1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8E56
Deuteranopia (green-blind)
#9E925C
Tritanopia (blue-blind)
#A48A83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b915a;
/* rgb */ color: rgb(155, 145, 90);
/* oklch */ color: oklch(65.2% 0.075 99.2);
Tailwind
colors: {
  custom: {
    50: '#bab189',
    500: '#9b915a',
    950: '#000000',
  },
}
SCSS
$custom: #9b915a;
$custom-light: #bab189;
$custom-dark: #000000;
JSON
{
  "hex": "#9b915a",
  "rgb": {
    "r": 155,
    "g": 145,
    "b": 90
  },
  "hsl": {
    "h": 50.769,
    "s": 26.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.65233,
    "c": 0.07536,
    "h": 99.2
  },
  "luminance": 0.27958
}

Semantic roles & 50–950 ramp

primary
#9B915A
secondary
#989DB8
accent
#73C365
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9B915A

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

Preview Lab → · Contrast checker → · Palette generator →

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