#B9972B#B9972B

#B9972B is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.9% C 0.127 H 90.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B9972B
RGBrgb(185, 151, 43)
HSLhsl(46, 62%, 45%)
HSVhsv(46, 77%, 73%)
CMYKcmyk(0%, 18.4%, 76.8%, 27.5%)
CIE-LABlab(63.86, 1.86, 57.86)
CIE-LCHlch(63.86, 57.89, 88.16°)
OKLaboklab(68.92% -0.001 0.1267)
OKLCHoklch(68.92% 0.127 90.4)
XYZxyz(31.5121, 32.6239, 6.9223)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9972B #2B4DB9
analogous
#B9502B #B9972B #94B92B
triadic
#B9972B #2BB997 #972BB9
tetradic
#B9972B #2BB950 #2B4DB9 #B92B94
square
#B9972B #2BB950 #2B4DB9 #B92B94
split-complementary
#B9972B #2B94B9 #502BB9
monochromatic
#564614 #876E1F #B9972B #D5B44C #E1C97E

Accessibility & contrast

On white

2.79
#B9972B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B9972B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9972B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9972B#FFFFFF#000000##000000
##B9972B1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99517
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#C98A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9972b;
/* rgb */ color: rgb(185, 151, 43);
/* oklch */ color: oklch(68.9% 0.127 90.4);
Tailwind
colors: {
  custom: {
    50: '#d2b56d',
    500: '#b9972b',
    950: '#000000',
  },
}
SCSS
$custom: #b9972b;
$custom-light: #d2b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9972b",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 45.634,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68915,
    "c": 0.12667,
    "h": 90.4
  },
  "luminance": 0.32622
}

Semantic roles & 50–950 ramp

primary
#B9972B
secondary
#768AC9
accent
#69E542
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9972B

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

Preview Lab → · Contrast checker → · Palette generator →

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