#B9972E#B9972E

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

Color values

HEX#B9972E
RGBrgb(185, 151, 46)
HSLhsl(45, 60%, 45%)
HSVhsv(45, 75%, 73%)
CMYKcmyk(0%, 18.4%, 75.1%, 27.5%)
CIE-LABlab(63.87, 1.98, 56.75)
CIE-LCHlch(63.87, 56.79, 88.00°)
OKLaboklab(68.94% -0.0003 0.1249)
OKLCHoklch(68.94% 0.125 90.1)
XYZxyz(31.5692, 32.6468, 7.2229)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9972E #2E50B9
analogous
#B9522E #B9972E #95B92E
triadic
#B9972E #2EB997 #972EB9
tetradic
#B9972E #2EB952 #2E50B9 #B92E95
square
#B9972E #2EB952 #2E50B9 #B92E95
split-complementary
#B9972E #2E95B9 #522EB9
monochromatic
#574716 #886F22 #B9972E #D4B451 #E0C982

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9972E#FFFFFF#000000##000000
##B9972E1.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)
#A8951D
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#C88A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9972e;
/* rgb */ color: rgb(185, 151, 46);
/* oklch */ color: oklch(68.9% 0.125 90.1);
Tailwind
colors: {
  custom: {
    50: '#d2b56e',
    500: '#b9972e',
    950: '#000000',
  },
}
SCSS
$custom: #b9972e;
$custom-light: #d2b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9972e",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 45.324,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68936,
    "c": 0.12493,
    "h": 90.1
  },
  "luminance": 0.32645
}

Semantic roles & 50–950 ramp

primary
#B9972E
secondary
#7A8DC9
accent
#6BE344
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B9972E

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

Preview Lab → · Contrast checker → · Palette generator →

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