#9B955C#9B955C

#9B955C is a light, moderate yellow. Relative luminance 0.292; OKLCH L 66.1% C 0.077 H 103.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B955C
RGBrgb(155, 149, 92)
HSLhsl(54, 26%, 48%)
HSVhsv(54, 41%, 61%)
CMYKcmyk(0%, 3.9%, 40.6%, 39.2%)
CIE-LABlab(60.99, -6.46, 30.88)
CIE-LCHlch(60.99, 31.54, 101.82°)
OKLaboklab(66.15% -0.0175 0.0754)
OKLCHoklch(66.15% 0.077 103.1)
XYZxyz(26.1972, 29.2368, 14.3864)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B955C #5C629B
analogous
#9B755C #9B955C #819B5C
triadic
#9B955C #5C9B95 #955C9B
tetradic
#9B955C #5C9B75 #5C629B #9B5C81
square
#9B955C #5C9B75 #5C629B #9B5C81
split-complementary
#9B955C #5C819B #755C9B
monochromatic
#4E4B2E #757045 #9B955C #B4AF80 #CBC7A7

Accessibility & contrast

On white

3.07
#9B955C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9B955C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B955C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B955C#FFFFFF#000000##000000
##9B955C1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9158
Deuteranopia (green-blind)
#A1955E
Tritanopia (blue-blind)
#A48E87
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b955c;
/* rgb */ color: rgb(155, 149, 92);
/* oklch */ color: oklch(66.1% 0.077 103.1);
Tailwind
colors: {
  custom: {
    50: '#b9b48b',
    500: '#9b955c',
    950: '#000000',
  },
}
SCSS
$custom: #9b955c;
$custom-light: #b9b48b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b955c",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 92
  },
  "hsl": {
    "h": 54.286,
    "s": 25.506,
    "l": 48.431
  },
  "oklch": {
    "l": 0.66146,
    "c": 0.07737,
    "h": 103.1
  },
  "luminance": 0.29236
}

Semantic roles & 50–950 ramp

primary
#9B955C
secondary
#9A9DB9
accent
#6FC266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9B955C

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

Preview Lab → · Contrast checker → · Palette generator →

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