#B9972D#B9972D

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

Color values

HEX#B9972D
RGBrgb(185, 151, 45)
HSLhsl(45, 61%, 45%)
HSVhsv(45, 76%, 73%)
CMYKcmyk(0%, 18.4%, 75.7%, 27.5%)
CIE-LABlab(63.87, 1.94, 57.13)
CIE-LCHlch(63.87, 57.16, 88.06°)
OKLaboklab(68.93% -0.0005 0.1255)
OKLCHoklch(68.93% 0.126 90.2)
XYZxyz(31.5497, 32.6390, 7.1203)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9972D #2D4FB9
analogous
#B9512D #B9972D #95B92D
triadic
#B9972D #2DB997 #972DB9
tetradic
#B9972D #2DB951 #2D4FB9 #B92D95
square
#B9972D #2DB951 #2D4FB9 #B92D95
split-complementary
#B9972D #2D95B9 #512DB9
monochromatic
#574715 #886F21 #B9972D #D4B44F #E0C980

Accessibility & contrast

On white

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

On black

7.53
#B9972D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9972D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9972D#FFFFFF#000000##000000
##B9972D1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9951B
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#C88A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9972d;
/* rgb */ color: rgb(185, 151, 45);
/* oklch */ color: oklch(68.9% 0.126 90.2);
Tailwind
colors: {
  custom: {
    50: '#d2b56e',
    500: '#b9972d',
    950: '#000000',
  },
}
SCSS
$custom: #b9972d;
$custom-light: #d2b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9972d",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 45.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68929,
    "c": 0.12552,
    "h": 90.2
  },
  "luminance": 0.32637
}

Semantic roles & 50–950 ramp

primary
#B9972D
secondary
#798CC9
accent
#6BE444
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B9972D

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

Preview Lab → · Contrast checker → · Palette generator →

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