#B9962D#B9962D

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

Color values

HEX#B9962D
RGBrgb(185, 150, 45)
HSLhsl(45, 61%, 45%)
HSVhsv(45, 76%, 73%)
CMYKcmyk(0%, 18.9%, 75.7%, 27.5%)
CIE-LABlab(63.61, 2.48, 56.88)
CIE-LCHlch(63.61, 56.93, 87.50°)
OKLaboklab(68.72% 0.001 0.125)
OKLCHoklch(68.72% 0.125 89.5)
XYZxyz(31.3894, 32.3185, 7.0669)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9962D #2D50B9
analogous
#B9502D #B9962D #96B92D
triadic
#B9962D #2DB996 #962DB9
tetradic
#B9962D #2DB950 #2D50B9 #B92D96
square
#B9962D #2DB950 #2D50B9 #B92D96
split-complementary
#B9962D #2D96B9 #502DB9
monochromatic
#574615 #886E21 #B9962D #D4B34F #E0C880

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9962D#FFFFFF#000000##000000
##B9962D1.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)
#A8941B
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#C98981
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b9962d;
/* rgb */ color: rgb(185, 150, 45);
/* oklch */ color: oklch(68.7% 0.125 89.5);
Tailwind
colors: {
  custom: {
    50: '#d2b46e',
    500: '#b9962d',
    950: '#000000',
  },
}
SCSS
$custom: #b9962d;
$custom-light: #d2b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9962d",
  "rgb": {
    "r": 185,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 45,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68722,
    "c": 0.12499,
    "h": 89.5
  },
  "luminance": 0.32316
}

Semantic roles & 50–950 ramp

primary
#B9962D
secondary
#798DC9
accent
#6CE444
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9962D

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

Preview Lab → · Contrast checker → · Palette generator →

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