#9B9751#9B9751

#9B9751 is a light, moderate yellow. Relative luminance 0.297; OKLCH L 66.4% C 0.092 H 105.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9B9751
RGBrgb(155, 151, 81)
HSLhsl(57, 31%, 46%)
HSVhsv(57, 48%, 61%)
CMYKcmyk(0%, 2.6%, 47.7%, 39.2%)
CIE-LABlab(61.39, -8.72, 37.17)
CIE-LCHlch(61.39, 38.18, 103.20°)
OKLaboklab(66.41% -0.025 0.0888)
OKLCHoklch(66.41% 0.092 105.7)
XYZxyz(26.0700, 29.6966, 12.1417)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9751 #51559B
analogous
#9B7251 #9B9751 #7A9B51
triadic
#9B9751 #519B97 #97519B
tetradic
#9B9751 #519B72 #51559B #9B517A
square
#9B9751 #519B72 #51559B #9B517A
split-complementary
#9B9751 #517A9B #72519B
monochromatic
#4B4927 #73703C #9B9751 #B6B273 #CBC89B

Accessibility & contrast

On white

3.03
#9B9751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#9B9751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9751
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9751#FFFFFF#000000##000000
##9B97511.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1924B
Deuteranopia (green-blind)
#A39654
Tritanopia (blue-blind)
#A48F87
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9b9751;
/* rgb */ color: rgb(155, 151, 81);
/* oklch */ color: oklch(66.4% 0.092 105.7);
Tailwind
colors: {
  custom: {
    50: '#bab583',
    500: '#9b9751',
    950: '#000000',
  },
}
SCSS
$custom: #9b9751;
$custom-light: #bab583;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9751",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 81
  },
  "hsl": {
    "h": 56.757,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66414,
    "c": 0.09222,
    "h": 105.7
  },
  "luminance": 0.29696
}

Semantic roles & 50–950 ramp

primary
#9B9751
secondary
#9092B8
accent
#66C860
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9B9751

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

Preview Lab → · Contrast checker → · Palette generator →

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