#9B9538#9B9538

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

Color values

HEX#9B9538
RGBrgb(155, 149, 56)
HSLhsl(56, 47%, 41%)
HSVhsv(56, 64%, 61%)
CMYKcmyk(0%, 3.9%, 63.9%, 39.2%)
CIE-LABlab(60.56, -9.73, 48.32)
CIE-LCHlch(60.56, 49.29, 101.38°)
OKLaboklab(65.66% -0.0307 0.1099)
OKLCHoklch(65.66% 0.114 105.6)
XYZxyz(24.9797, 28.7498, 7.9741)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9538 #383E9B
analogous
#9B6438 #9B9538 #709B38
triadic
#9B9538 #389B95 #95389B
tetradic
#9B9538 #389B64 #383E9B #9B3870
square
#9B9538 #389B64 #383E9B #9B3870
split-complementary
#9B9538 #38709B #64389B
monochromatic
#413F18 #6E6A28 #9B9538 #C0B950 #D0CB7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9538#FFFFFF#000000##000000
##9B95381.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)
#A1902D
Deuteranopia (green-blind)
#A4943D
Tritanopia (blue-blind)
#A68B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9538;
/* rgb */ color: rgb(155, 149, 56);
/* oklch */ color: oklch(65.7% 0.114 105.6);
Tailwind
colors: {
  custom: {
    50: '#bbb373',
    500: '#9b9538',
    950: '#000000',
  },
}
SCSS
$custom: #9b9538;
$custom-light: #bbb373;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9538",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 56.364,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65665,
    "c": 0.11415,
    "h": 105.6
  },
  "luminance": 0.28749
}

Semantic roles & 50–950 ramp

primary
#9B9538
secondary
#7579B9
accent
#59D751
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9B9538

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

Preview Lab → · Contrast checker → · Palette generator →

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