#B9962C#B9962C

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

Color values

HEX#B9962C
RGBrgb(185, 150, 44)
HSLhsl(45, 62%, 45%)
HSVhsv(45, 76%, 73%)
CMYKcmyk(0%, 18.9%, 76.2%, 27.5%)
CIE-LABlab(63.60, 2.44, 57.25)
CIE-LCHlch(63.60, 57.30, 87.56°)
OKLaboklab(68.72% 0.0008 0.1256)
OKLCHoklch(68.72% 0.126 89.6)
XYZxyz(31.3704, 32.3108, 6.9667)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9962C #2C4FB9
analogous
#B94F2C #B9962C #96B92C
triadic
#B9962C #2CB996 #962CB9
tetradic
#B9962C #2CB94F #2C4FB9 #B92C96
square
#B9962C #2CB94F #2C4FB9 #B92C96
split-complementary
#B9962C #2C96B9 #4F2CB9
monochromatic
#564614 #886E20 #B9962C #D5B34D #E1C87F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9962C#FFFFFF#000000##000000
##B9962C1.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)
#A89419
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#C98981
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b9962c;
/* rgb */ color: rgb(185, 150, 44);
/* oklch */ color: oklch(68.7% 0.126 89.6);
Tailwind
colors: {
  custom: {
    50: '#d2b46d',
    500: '#b9962c',
    950: '#000000',
  },
}
SCSS
$custom: #b9962c;
$custom-light: #d2b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9962c",
  "rgb": {
    "r": 185,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 45.106,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68715,
    "c": 0.12557,
    "h": 89.6
  },
  "luminance": 0.32309
}

Semantic roles & 50–950 ramp

primary
#B9962C
secondary
#788CC9
accent
#6BE543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9962C

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

Preview Lab → · Contrast checker → · Palette generator →

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