#9B8A39#9B8A39

#9B8A39 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.103 H 97.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9B8A39
RGBrgb(155, 138, 57)
HSLhsl(50, 46%, 42%)
HSVhsv(50, 63%, 61%)
CMYKcmyk(0%, 11%, 63.2%, 39.2%)
CIE-LABlab(57.50, -3.70, 44.56)
CIE-LCHlch(57.50, 44.71, 94.74°)
OKLaboklab(63.24% -0.0134 0.1021)
OKLCHoklch(63.24% 0.103 97.5)
XYZxyz(23.3456, 25.4420, 7.5512)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8A39 #394A9B
analogous
#9B5939 #9B8A39 #7B9B39
triadic
#9B8A39 #399B8A #8A399B
tetradic
#9B8A39 #399B59 #394A9B #9B397B
square
#9B8A39 #399B59 #394A9B #9B397B
split-complementary
#9B8A39 #397B9B #59399B
monochromatic
#423A18 #6E6229 #9B8A39 #BFAC52 #D0C27F

Accessibility & contrast

On white

3.45
#9B8A39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9B8A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8A39
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8A39#FFFFFF#000000##000000
##9B8A391.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978730
Deuteranopia (green-blind)
#9B8D3D
Tritanopia (blue-blind)
#A78079
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b8a39;
/* rgb */ color: rgb(155, 138, 57);
/* oklch */ color: oklch(63.2% 0.103 97.5);
Tailwind
colors: {
  custom: {
    50: '#bbab73',
    500: '#9b8a39',
    950: '#000000',
  },
}
SCSS
$custom: #9b8a39;
$custom-light: #bbab73;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8a39",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 49.592,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63241,
    "c": 0.10297,
    "h": 97.5
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

primary
#9B8A39
secondary
#7782B9
accent
#69D652
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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