#B9972C#B9972C

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

Color values

HEX#B9972C
RGBrgb(185, 151, 44)
HSLhsl(46, 62%, 45%)
HSVhsv(46, 76%, 73%)
CMYKcmyk(0%, 18.4%, 76.2%, 27.5%)
CIE-LABlab(63.86, 1.90, 57.49)
CIE-LCHlch(63.86, 57.53, 88.11°)
OKLaboklab(68.92% -0.0008 0.1261)
OKLCHoklch(68.92% 0.126 90.3)
XYZxyz(31.5307, 32.6313, 7.0201)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9972C #2C4EB9
analogous
#B9512C #B9972C #94B92C
triadic
#B9972C #2CB997 #972CB9
tetradic
#B9972C #2CB951 #2C4EB9 #B92C94
square
#B9972C #2CB951 #2C4EB9 #B92C94
split-complementary
#B9972C #2C94B9 #512CB9
monochromatic
#564614 #886F20 #B9972C #D5B44D #E1C97F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9972C#FFFFFF#000000##000000
##B9972C1.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)
#A99519
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#C98A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9972c;
/* rgb */ color: rgb(185, 151, 44);
/* oklch */ color: oklch(68.9% 0.126 90.3);
Tailwind
colors: {
  custom: {
    50: '#d2b56d',
    500: '#b9972c',
    950: '#000000',
  },
}
SCSS
$custom: #b9972c;
$custom-light: #d2b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9972c",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 45.532,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68922,
    "c": 0.1261,
    "h": 90.3
  },
  "luminance": 0.32629
}

Semantic roles & 50–950 ramp

primary
#B9972C
secondary
#788BC9
accent
#6AE543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9972C

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

Preview Lab → · Contrast checker → · Palette generator →

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