#B9962A#B9962A

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

Color values

HEX#B9962A
RGBrgb(185, 150, 42)
HSLhsl(45, 63%, 45%)
HSVhsv(45, 77%, 73%)
CMYKcmyk(0%, 18.9%, 77.3%, 27.5%)
CIE-LABlab(63.59, 2.36, 57.97)
CIE-LCHlch(63.59, 58.02, 87.67°)
OKLaboklab(68.7% 0.0003 0.1267)
OKLCHoklch(68.7% 0.127 89.8)
XYZxyz(31.3337, 32.2962, 6.7735)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9962A #2A4DB9
analogous
#B94F2A #B9962A #95B92A
triadic
#B9962A #2AB996 #962AB9
tetradic
#B9962A #2AB94F #2A4DB9 #B92A95
square
#B9962A #2AB94F #2A4DB9 #B92A95
split-complementary
#B9962A #2A95B9 #4F2AB9
monochromatic
#554513 #876E1F #B9962A #D6B44A #E1C97C

Accessibility & contrast

On white

2.82
#B9962A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9962A#FFFFFF#000000##000000
##B9962A1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9962a;
/* rgb */ color: rgb(185, 150, 42);
/* oklch */ color: oklch(68.7% 0.127 89.8);
Tailwind
colors: {
  custom: {
    50: '#d2b46c',
    500: '#b9962a',
    950: '#000000',
  },
}
SCSS
$custom: #b9962a;
$custom-light: #d2b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9962a",
  "rgb": {
    "r": 185,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 45.315,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68702,
    "c": 0.1267,
    "h": 89.8
  },
  "luminance": 0.32294
}

Semantic roles & 50–950 ramp

primary
#B9962A
secondary
#758ACA
accent
#6AE642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9962A

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

Preview Lab → · Contrast checker → · Palette generator →

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