#9B8D46#9B8D46

#9B8D46 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.093 H 98.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9B8D46
RGBrgb(155, 141, 70)
HSLhsl(50, 38%, 44%)
HSVhsv(50, 55%, 61%)
CMYKcmyk(0%, 9%, 54.8%, 39.2%)
CIE-LABlab(58.47, -4.32, 39.30)
CIE-LCHlch(58.47, 39.53, 96.28°)
OKLaboklab(64.05% -0.0136 0.0924)
OKLCHoklch(64.05% 0.093 98.4)
XYZxyz(24.1488, 26.4615, 9.6287)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D46 #46549B
analogous
#9B6346 #9B8D46 #7F9B46
triadic
#9B8D46 #469B8D #8D469B
tetradic
#9B8D46 #469B63 #46549B #9B467F
square
#9B8D46 #469B63 #46549B #9B467F
split-complementary
#9B8D46 #467F9B #63469B
monochromatic
#474020 #716733 #9B8D46 #B9AB65 #CCC28F

Accessibility & contrast

On white

3.34
#9B8D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9B8D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D46
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D46#FFFFFF#000000##000000
##9B8D461.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A3F
Deuteranopia (green-blind)
#9D8F49
Tritanopia (blue-blind)
#A6847D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8d46;
/* rgb */ color: rgb(155, 141, 70);
/* oklch */ color: oklch(64.1% 0.093 98.4);
Tailwind
colors: {
  custom: {
    50: '#baae7b',
    500: '#9b8d46',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d46;
$custom-light: #baae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d46",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 50.118,
    "s": 37.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64053,
    "c": 0.09341,
    "h": 98.4
  },
  "luminance": 0.26461
}

Semantic roles & 50–950 ramp

primary
#9B8D46
secondary
#858DB8
accent
#6DCE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #9B8D46

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

Preview Lab → · Contrast checker → · Palette generator →

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