#9B9533#9B9533

#9B9533 is a light, moderate yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.118 H 105.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9B9533
RGBrgb(155, 149, 51)
HSLhsl(57, 50%, 40%)
HSVhsv(57, 67%, 61%)
CMYKcmyk(0%, 3.9%, 67.1%, 39.2%)
CIE-LABlab(60.52, -10.05, 50.45)
CIE-LCHlch(60.52, 51.44, 101.26°)
OKLaboklab(65.62% -0.0322 0.1136)
OKLCHoklch(65.62% 0.118 105.8)
XYZxyz(24.8635, 28.7033, 7.3619)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9533 #33399B
analogous
#9B6133 #9B9533 #6D9B33
triadic
#9B9533 #339B95 #95339B
tetradic
#9B9533 #339B61 #33399B #9B336D
square
#9B9533 #339B61 #33399B #9B336D
split-complementary
#9B9533 #336D9B #61339B
monochromatic
#3F3C15 #6D6924 #9B9533 #C3BC48 #D2CD76

Accessibility & contrast

On white

3.12
#9B9533 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9B9533 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9533
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9533#FFFFFF#000000##000000
##9B95331.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9533;
/* rgb */ color: rgb(155, 149, 51);
/* oklch */ color: oklch(65.6% 0.118 105.8);
Tailwind
colors: {
  custom: {
    50: '#bbb370',
    500: '#9b9533',
    950: '#000000',
  },
}
SCSS
$custom: #9b9533;
$custom-light: #bbb370;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9533",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 56.538,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65619,
    "c": 0.1181,
    "h": 105.8
  },
  "luminance": 0.28702
}

Semantic roles & 50–950 ramp

primary
#9B9533
secondary
#6F74BA
accent
#56DA4E
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9B9533

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

Preview Lab → · Contrast checker → · Palette generator →

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