#B9972A#B9972A

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

Color values

HEX#B9972A
RGBrgb(185, 151, 42)
HSLhsl(46, 63%, 45%)
HSVhsv(46, 77%, 73%)
CMYKcmyk(0%, 18.4%, 77.3%, 27.5%)
CIE-LABlab(63.85, 1.81, 58.22)
CIE-LCHlch(63.85, 58.25, 88.22°)
OKLaboklab(68.91% -0.0012 0.1272)
OKLCHoklch(68.91% 0.127 90.5)
XYZxyz(31.4940, 32.6167, 6.8269)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9972A #2A4CB9
analogous
#B94F2A #B9972A #94B92A
triadic
#B9972A #2AB997 #972AB9
tetradic
#B9972A #2AB94F #2A4CB9 #B92A94
square
#B9972A #2AB94F #2A4CB9 #B92A94
split-complementary
#B9972A #2A94B9 #4F2AB9
monochromatic
#554613 #876E1F #B9972A #D6B54A #E1C97C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9972A#FFFFFF#000000##000000
##B9972A1.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)
#A99515
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#C98A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9972a;
/* rgb */ color: rgb(185, 151, 42);
/* oklch */ color: oklch(68.9% 0.127 90.5);
Tailwind
colors: {
  custom: {
    50: '#d2b56c',
    500: '#b9972a',
    950: '#000000',
  },
}
SCSS
$custom: #b9972a;
$custom-light: #d2b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9972a",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 45.734,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68909,
    "c": 0.12723,
    "h": 90.5
  },
  "luminance": 0.32615
}

Semantic roles & 50–950 ramp

primary
#B9972A
secondary
#7589CA
accent
#69E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9972A

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

Preview Lab → · Contrast checker → · Palette generator →

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