#9B8A48#9B8A48

#9B8A48 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.089 H 95.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9B8A48
RGBrgb(155, 138, 72)
HSLhsl(48, 37%, 45%)
HSVhsv(48, 54%, 61%)
CMYKcmyk(0%, 11%, 53.5%, 39.2%)
CIE-LABlab(57.67, -2.49, 37.32)
CIE-LCHlch(57.67, 37.40, 93.82°)
OKLaboklab(63.43% -0.0081 0.0883)
OKLCHoklch(63.43% 0.089 95.2)
XYZxyz(23.7766, 25.6144, 9.8213)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8A48 #48599B
analogous
#9B6148 #9B8A48 #839B48
triadic
#9B8A48 #489B8A #8A489B
tetradic
#9B8A48 #489B61 #48599B #9B4883
square
#9B8A48 #489B61 #48599B #9B4883
split-complementary
#9B8A48 #48839B #61489B
monochromatic
#474021 #716535 #9B8A48 #B9A868 #CCC091

Accessibility & contrast

On white

3.43
#9B8A48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9B8A48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8A48
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8A48#FFFFFF#000000##000000
##9B8A481.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968742
Deuteranopia (green-blind)
#9A8D4B
Tritanopia (blue-blind)
#A6817B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b8a48;
/* rgb */ color: rgb(155, 138, 72);
/* oklch */ color: oklch(63.4% 0.089 95.2);
Tailwind
colors: {
  custom: {
    50: '#baab7d',
    500: '#9b8a48',
    950: '#000000',
  },
}
SCSS
$custom: #9b8a48;
$custom-light: #baab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8a48",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 72
  },
  "hsl": {
    "h": 47.711,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63426,
    "c": 0.08868,
    "h": 95.2
  },
  "luminance": 0.25613
}

Semantic roles & 50–950 ramp

primary
#9B8A48
secondary
#8791B8
accent
#72CD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9B8A48

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

Preview Lab → · Contrast checker → · Palette generator →

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