#9B8A3D#9B8A3D

#9B8A3D is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.099 H 97.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9B8A3D
RGBrgb(155, 138, 61)
HSLhsl(49, 44%, 42%)
HSVhsv(49, 61%, 61%)
CMYKcmyk(0%, 11%, 60.6%, 39.2%)
CIE-LABlab(57.54, -3.40, 42.69)
CIE-LCHlch(57.54, 42.83, 94.56°)
OKLaboklab(63.29% -0.0121 0.0987)
OKLCHoklch(63.29% 0.099 97)
XYZxyz(23.4493, 25.4835, 8.0976)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8A3D #3D4E9B
analogous
#9B5B3D #9B8A3D #7D9B3D
triadic
#9B8A3D #3D9B8A #8A3D9B
tetradic
#9B8A3D #3D9B5B #3D4E9B #9B3D7D
square
#9B8A3D #3D9B5B #3D4E9B #9B3D7D
split-complementary
#9B8A3D #3D7D9B #5B3D9B
monochromatic
#433C1A #6F632C #9B8A3D #BDAB58 #CFC184

Accessibility & contrast

On white

3.44
#9B8A3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9B8A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8A3D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8A3D#FFFFFF#000000##000000
##9B8A3D1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978735
Deuteranopia (green-blind)
#9B8D41
Tritanopia (blue-blind)
#A68179
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b8a3d;
/* rgb */ color: rgb(155, 138, 61);
/* oklch */ color: oklch(63.3% 0.099 97.0);
Tailwind
colors: {
  custom: {
    50: '#bbab75',
    500: '#9b8a3d',
    950: '#000000',
  },
}
SCSS
$custom: #9b8a3d;
$custom-light: #bbab75;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8a3d",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 61
  },
  "hsl": {
    "h": 49.149,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.0994,
    "h": 97
  },
  "luminance": 0.25482
}

Semantic roles & 50–950 ramp

primary
#9B8A3D
secondary
#7B86B9
accent
#6BD355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B8A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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