#9B8737#9B8737

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

Color values

HEX#9B8737
RGBrgb(155, 135, 55)
HSLhsl(48, 48%, 41%)
HSVhsv(48, 65%, 61%)
CMYKcmyk(0%, 12.9%, 64.5%, 39.2%)
CIE-LABlab(56.66, -2.18, 44.58)
CIE-LCHlch(56.66, 44.63, 92.80°)
OKLaboklab(62.57% -0.0093 0.1018)
OKLCHoklch(62.57% 0.102 95.2)
XYZxyz(22.8722, 24.5735, 7.1521)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8737 #374B9B
analogous
#9B5537 #9B8737 #7D9B37
triadic
#9B8737 #379B87 #87379B
tetradic
#9B8737 #379B55 #374B9B #9B377D
square
#9B8737 #379B55 #374B9B #9B377D
split-complementary
#9B8737 #377D9B #55379B
monochromatic
#413817 #6E6027 #9B8737 #C0AA4F #D0C07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8737#FFFFFF#000000##000000
##9B87371.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)
#94842E
Deuteranopia (green-blind)
#998B3B
Tritanopia (blue-blind)
#A77D76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b8737;
/* rgb */ color: rgb(155, 135, 55);
/* oklch */ color: oklch(62.6% 0.102 95.2);
Tailwind
colors: {
  custom: {
    50: '#bba971',
    500: '#9b8737',
    950: '#000000',
  },
}
SCSS
$custom: #9b8737;
$custom-light: #bba971;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8737",
  "rgb": {
    "r": 155,
    "g": 135,
    "b": 55
  },
  "hsl": {
    "h": 48,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.10225,
    "h": 95.2
  },
  "luminance": 0.24572
}

Semantic roles & 50–950 ramp

primary
#9B8737
secondary
#7482BA
accent
#6CD751
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #9B8737

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

Preview Lab → · Contrast checker → · Palette generator →

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