#9B9537#9B9537

#9B9537 is a light, moderate yellow. Relative luminance 0.287; OKLCH L 65.7% C 0.115 H 105.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9B9537
RGBrgb(155, 149, 55)
HSLhsl(56, 48%, 41%)
HSVhsv(56, 65%, 61%)
CMYKcmyk(0%, 3.9%, 64.5%, 39.2%)
CIE-LABlab(60.55, -9.79, 48.76)
CIE-LCHlch(60.55, 49.73, 101.36°)
OKLaboklab(65.66% -0.031 0.1107)
OKLCHoklch(65.66% 0.115 105.7)
XYZxyz(24.9555, 28.7401, 7.8465)
Luminance0.2874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9537 #373D9B
analogous
#9B6337 #9B9537 #6F9B37
triadic
#9B9537 #379B95 #95379B
tetradic
#9B9537 #379B63 #373D9B #9B376F
square
#9B9537 #379B63 #373D9B #9B376F
split-complementary
#9B9537 #376F9B #63379B
monochromatic
#413E17 #6E6A27 #9B9537 #C0BA4F #D0CB7C

Accessibility & contrast

On white

3.11
#9B9537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9B9537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9537
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9537#FFFFFF#000000##000000
##9B95371.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1902B
Deuteranopia (green-blind)
#A4943D
Tritanopia (blue-blind)
#A68B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9537;
/* rgb */ color: rgb(155, 149, 55);
/* oklch */ color: oklch(65.7% 0.115 105.7);
Tailwind
colors: {
  custom: {
    50: '#bbb373',
    500: '#9b9537',
    950: '#000000',
  },
}
SCSS
$custom: #9b9537;
$custom-light: #bbb373;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9537",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 55
  },
  "hsl": {
    "h": 56.4,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65655,
    "c": 0.11497,
    "h": 105.7
  },
  "luminance": 0.28739
}

Semantic roles & 50–950 ramp

primary
#9B9537
secondary
#7478BA
accent
#59D751
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9B9537

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

Preview Lab → · Contrast checker → · Palette generator →

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