#9B9531#9B9531

#9B9531 is a light, moderate yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.120 H 105.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9B9531
RGBrgb(155, 149, 49)
HSLhsl(57, 52%, 40%)
HSVhsv(57, 68%, 61%)
CMYKcmyk(0%, 3.9%, 68.4%, 39.2%)
CIE-LABlab(60.50, -10.17, 51.27)
CIE-LCHlch(60.50, 52.27, 101.22°)
OKLaboklab(65.6% -0.0328 0.115)
OKLCHoklch(65.6% 0.12 105.9)
XYZxyz(24.8203, 28.6861, 7.1347)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9531 #31379B
analogous
#9B6031 #9B9531 #6C9B31
triadic
#9B9531 #319B95 #95319B
tetradic
#9B9531 #319B60 #31379B #9B316C
square
#9B9531 #319B60 #31379B #9B316C
split-complementary
#9B9531 #316C9B #60319B
monochromatic
#3E3C14 #6D6822 #9B9531 #C4BD45 #D3CE73

Accessibility & contrast

On white

3.12
#9B9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9B9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9531
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9531#FFFFFF#000000##000000
##9B95311.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29023
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#A68B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9531;
/* rgb */ color: rgb(155, 149, 49);
/* oklch */ color: oklch(65.6% 0.120 105.9);
Tailwind
colors: {
  custom: {
    50: '#bbb36f',
    500: '#9b9531',
    950: '#000000',
  },
}
SCSS
$custom: #9b9531;
$custom-light: #bbb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9531",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 56.604,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.65602,
    "c": 0.11959,
    "h": 105.9
  },
  "luminance": 0.28685
}

Semantic roles & 50–950 ramp

primary
#9B9531
secondary
#6D71BB
accent
#54DB4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9B9531

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

Preview Lab → · Contrast checker → · Palette generator →

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