#9B9B2B#9B9B2B

#9B9B2B is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.9% C 0.130 H 109.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9B9B2B
RGBrgb(155, 155, 43)
HSLhsl(60, 57%, 39%)
HSVhsv(60, 72%, 61%)
CMYKcmyk(0%, 0%, 72.3%, 39.2%)
CIE-LABlab(62.16, -13.66, 55.26)
CIE-LCHlch(62.16, 56.93, 103.89°)
OKLaboklab(66.91% -0.0432 0.1224)
OKLCHoklch(66.91% 0.13 109.4)
XYZxyz(25.6759, 30.5864, 6.8363)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9B2B #2B2B9B
analogous
#9B632B #9B9B2B #639B2B
triadic
#9B9B2B #2B9B9B #9B2B9B
tetradic
#9B9B2B #2B9B63 #2B2B9B #9B2B63
square
#9B9B2B #2B9B63 #2B2B9B #9B2B63
split-complementary
#9B9B2B #2B639B #632B9B
monochromatic
#3B3B10 #6B6B1E #9B9B2B #C9C93B #D6D66B

Accessibility & contrast

On white

2.95
#9B9B2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#9B9B2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9B2B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9B2B#FFFFFF#000000##000000
##9B9B2B1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#A69185
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b9b2b;
/* rgb */ color: rgb(155, 155, 43);
/* oklch */ color: oklch(66.9% 0.130 109.4);
Tailwind
colors: {
  custom: {
    50: '#bcb86c',
    500: '#9b9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #9b9b2b;
$custom-light: #bcb86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9b2b",
  "rgb": {
    "r": 155,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66907,
    "c": 0.12978,
    "h": 109.4
  },
  "luminance": 0.30586
}

Semantic roles & 50–950 ramp

primary
#9B9B2B
secondary
#6565BC
accent
#48E048
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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