#9B8735#9B8735

#9B8735 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.104 H 95.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9B8735
RGBrgb(155, 135, 53)
HSLhsl(48, 49%, 41%)
HSVhsv(48, 66%, 61%)
CMYKcmyk(0%, 12.9%, 65.8%, 39.2%)
CIE-LABlab(56.64, -2.31, 45.48)
CIE-LCHlch(56.64, 45.54, 92.91°)
OKLaboklab(62.54% -0.0099 0.1035)
OKLCHoklch(62.54% 0.104 95.5)
XYZxyz(22.8252, 24.5547, 6.9047)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8735 #35499B
analogous
#9B5435 #9B8735 #7C9B35
triadic
#9B8735 #359B87 #87359B
tetradic
#9B8735 #359B54 #35499B #9B357C
square
#9B8735 #359B54 #35499B #9B357C
split-complementary
#9B8735 #357C9B #54359B
monochromatic
#403816 #6D5F25 #9B8735 #C2AA4C #D1C079

Accessibility & contrast

On white

3.55
#9B8735 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9B8735 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8735
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8735#FFFFFF#000000##000000
##9B87351.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842B
Deuteranopia (green-blind)
#998B39
Tritanopia (blue-blind)
#A77D76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b8735;
/* rgb */ color: rgb(155, 135, 53);
/* oklch */ color: oklch(62.5% 0.104 95.5);
Tailwind
colors: {
  custom: {
    50: '#bba970',
    500: '#9b8735',
    950: '#000000',
  },
}
SCSS
$custom: #9b8735;
$custom-light: #bba970;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8735",
  "rgb": {
    "r": 155,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 48.235,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62545,
    "c": 0.10392,
    "h": 95.5
  },
  "luminance": 0.24554
}

Semantic roles & 50–950 ramp

primary
#9B8735
secondary
#7280BA
accent
#6AD94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9B8735

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

Preview Lab → · Contrast checker → · Palette generator →

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