#B9962B#B9962B

#B9962B is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.7% C 0.126 H 89.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B9962B
RGBrgb(185, 150, 43)
HSLhsl(45, 62%, 45%)
HSVhsv(45, 77%, 73%)
CMYKcmyk(0%, 18.9%, 76.8%, 27.5%)
CIE-LABlab(63.59, 2.40, 57.61)
CIE-LCHlch(63.59, 57.66, 87.62°)
OKLaboklab(68.71% 0.0006 0.1261)
OKLCHoklch(68.71% 0.126 89.7)
XYZxyz(31.3518, 32.3034, 6.8689)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9962B #2B4EB9
analogous
#B94F2B #B9962B #95B92B
triadic
#B9962B #2BB996 #962BB9
tetradic
#B9962B #2BB94F #2B4EB9 #B92B95
square
#B9962B #2BB94F #2B4EB9 #B92B95
split-complementary
#B9962B #2B95B9 #4F2BB9
monochromatic
#564514 #876E1F #B9962B #D5B34C #E1C87E

Accessibility & contrast

On white

2.81
#B9962B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B9962B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9962B
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9962B#FFFFFF#000000##000000
##B9962B1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89418
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#C98981
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b9962b;
/* rgb */ color: rgb(185, 150, 43);
/* oklch */ color: oklch(68.7% 0.126 89.7);
Tailwind
colors: {
  custom: {
    50: '#d2b46d',
    500: '#b9962b',
    950: '#000000',
  },
}
SCSS
$custom: #b9962b;
$custom-light: #d2b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9962b",
  "rgb": {
    "r": 185,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 45.211,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.12614,
    "h": 89.7
  },
  "luminance": 0.32301
}

Semantic roles & 50–950 ramp

primary
#B9962B
secondary
#768BC9
accent
#6BE542
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9962B

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

Preview Lab → · Contrast checker → · Palette generator →

#B9962B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva