#9B8D35#9B8D35

#9B8D35 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.109 H 100.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9B8D35
RGBrgb(155, 141, 53)
HSLhsl(52, 49%, 41%)
HSVhsv(52, 66%, 61%)
CMYKcmyk(0%, 9%, 65.8%, 39.2%)
CIE-LABlab(58.30, -5.61, 47.26)
CIE-LCHlch(58.30, 47.59, 96.77°)
OKLaboklab(63.86% -0.0193 0.1072)
OKLCHoklch(63.86% 0.109 100.2)
XYZxyz(23.6860, 26.2764, 7.1917)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D35 #35439B
analogous
#9B5A35 #9B8D35 #769B35
triadic
#9B8D35 #359B8D #8D359B
tetradic
#9B8D35 #359B5A #35439B #9B3576
square
#9B8D35 #359B5A #35439B #9B3576
split-complementary
#9B8D35 #35769B #5A359B
monochromatic
#403A16 #6D6425 #9B8D35 #C2B14C #D1C579

Accessibility & contrast

On white

3.36
#9B8D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9B8D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D35
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D35#FFFFFF#000000##000000
##9B8D351.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892A
Deuteranopia (green-blind)
#9E8F3A
Tritanopia (blue-blind)
#A7837B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d35;
/* rgb */ color: rgb(155, 141, 53);
/* oklch */ color: oklch(63.9% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#bbae71',
    500: '#9b8d35',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d35;
$custom-light: #bbae71;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d35",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 53
  },
  "hsl": {
    "h": 51.765,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63859,
    "c": 0.10894,
    "h": 100.2
  },
  "luminance": 0.26275
}

Semantic roles & 50–950 ramp

primary
#9B8D35
secondary
#727CBA
accent
#62D94F
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B8D35

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

Preview Lab → · Contrast checker → · Palette generator →

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