#9B905F#9B905F

#9B905F is a light, moderate yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.068 H 97.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9B905F
RGBrgb(155, 144, 95)
HSLhsl(49, 24%, 49%)
HSVhsv(49, 39%, 61%)
CMYKcmyk(0%, 7.1%, 38.7%, 39.2%)
CIE-LABlab(59.66, -3.38, 27.53)
CIE-LCHlch(59.66, 27.74, 97.00°)
OKLaboklab(65.1% -0.0084 0.0678)
OKLCHoklch(65.1% 0.068 97)
XYZxyz(25.5569, 27.7421, 14.8328)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B905F #5F6A9B
analogous
#9B725F #9B905F #889B5F
triadic
#9B905F #5F9B90 #905F9B
tetradic
#9B905F #5F9B72 #5F6A9B #9B5F88
square
#9B905F #5F9B72 #5F6A9B #9B5F88
split-complementary
#9B905F #5F889B #725F9B
monochromatic
#4F4930 #756D48 #9B905F #B3AB84 #CBC5AA

Accessibility & contrast

On white

3.21
#9B905F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9B905F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B905F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B905F#FFFFFF#000000##000000
##9B905F1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D5B
Deuteranopia (green-blind)
#9C9161
Tritanopia (blue-blind)
#A48984
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b905f;
/* rgb */ color: rgb(155, 144, 95);
/* oklch */ color: oklch(65.1% 0.068 97.0);
Tailwind
colors: {
  custom: {
    50: '#b9b08d',
    500: '#9b905f',
    950: '#000000',
  },
}
SCSS
$custom: #9b905f;
$custom-light: #b9b08d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b905f",
  "rgb": {
    "r": 155,
    "g": 144,
    "b": 95
  },
  "hsl": {
    "h": 49,
    "s": 24,
    "l": 49.02
  },
  "oklch": {
    "l": 0.65104,
    "c": 0.06834,
    "h": 97
  },
  "luminance": 0.27741
}

Semantic roles & 50–950 ramp

primary
#9B905F
secondary
#9DA2B9
accent
#78C067
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9B905F

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

Preview Lab → · Contrast checker → · Palette generator →

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