#9B8A46#9B8A46

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

Color values

HEX#9B8A46
RGBrgb(155, 138, 70)
HSLhsl(48, 38%, 44%)
HSVhsv(48, 55%, 61%)
CMYKcmyk(0%, 11%, 54.8%, 39.2%)
CIE-LABlab(57.64, -2.67, 38.32)
CIE-LCHlch(57.64, 38.41, 93.99°)
OKLaboklab(63.4% -0.0088 0.0903)
OKLCHoklch(63.4% 0.091 95.6)
XYZxyz(23.7124, 25.5887, 9.4833)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8A46 #46579B
analogous
#9B6046 #9B8A46 #829B46
triadic
#9B8A46 #469B8A #8A469B
tetradic
#9B8A46 #469B60 #46579B #9B4682
square
#9B8A46 #469B60 #46579B #9B4682
split-complementary
#9B8A46 #46829B #60469B
monochromatic
#473F20 #716433 #9B8A46 #B9A865 #CCC08F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8A46#FFFFFF#000000##000000
##9B8A461.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)
#968740
Deuteranopia (green-blind)
#9A8D49
Tritanopia (blue-blind)
#A6817A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b8a46;
/* rgb */ color: rgb(155, 138, 70);
/* oklch */ color: oklch(63.4% 0.091 95.6);
Tailwind
colors: {
  custom: {
    50: '#bbab7b',
    500: '#9b8a46',
    950: '#000000',
  },
}
SCSS
$custom: #9b8a46;
$custom-light: #bbab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8a46",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 48,
    "s": 37.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63398,
    "c": 0.09072,
    "h": 95.6
  },
  "luminance": 0.25588
}

Semantic roles & 50–950 ramp

primary
#9B8A46
secondary
#858FB8
accent
#71CE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #9B8A46

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

Preview Lab → · Contrast checker → · Palette generator →

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