#9B962C#9B962C

#9B962C is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.8% C 0.124 H 106.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9B962C
RGBrgb(155, 150, 44)
HSLhsl(57, 56%, 39%)
HSVhsv(57, 72%, 61%)
CMYKcmyk(0%, 3.2%, 71.6%, 39.2%)
CIE-LABlab(60.75, -10.97, 53.52)
CIE-LCHlch(60.75, 54.63, 101.59°)
OKLaboklab(65.79% -0.0356 0.1189)
OKLCHoklch(65.79% 0.124 106.7)
XYZxyz(24.8795, 28.9640, 6.6624)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B962C #2C319B
analogous
#9B5F2C #9B962C #699B2C
triadic
#9B962C #2C9B96 #962C9B
tetradic
#9B962C #2C9B5F #2C319B #9B2C69
square
#9B962C #2C9B5F #2C319B #9B2C69
split-complementary
#9B962C #2C699B #5F2C9B
monochromatic
#3C3A11 #6B681E #9B962C #C8C13C #D5D16C

Accessibility & contrast

On white

3.09
#9B962C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9B962C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B962C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B962C#FFFFFF#000000##000000
##9B962C1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901A
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#A68C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b962c;
/* rgb */ color: rgb(155, 150, 44);
/* oklch */ color: oklch(65.8% 0.124 106.7);
Tailwind
colors: {
  custom: {
    50: '#bcb46c',
    500: '#9b962c',
    950: '#000000',
  },
}
SCSS
$custom: #9b962c;
$custom-light: #bcb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b962c",
  "rgb": {
    "r": 155,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 57.297,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65787,
    "c": 0.12408,
    "h": 106.7
  },
  "luminance": 0.28963
}

Semantic roles & 50–950 ramp

primary
#9B962C
secondary
#676ABC
accent
#4FDF49
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B962C

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

Preview Lab → · Contrast checker → · Palette generator →

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