#B9972F#B9972F

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

Color values

HEX#B9972F
RGBrgb(185, 151, 47)
HSLhsl(45, 59%, 45%)
HSVhsv(45, 75%, 73%)
CMYKcmyk(0%, 18.4%, 74.6%, 27.5%)
CIE-LABlab(63.88, 2.03, 56.37)
CIE-LCHlch(63.88, 56.41, 87.94°)
OKLaboklab(68.94% 0 0.1243)
OKLCHoklch(68.94% 0.124 90)
XYZxyz(31.5891, 32.6547, 7.3279)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9972F #2F51B9
analogous
#B9522F #B9972F #96B92F
triadic
#B9972F #2FB997 #972FB9
tetradic
#B9972F #2FB952 #2F51B9 #B92F96
square
#B9972F #2FB952 #2F51B9 #B92F96
split-complementary
#B9972F #2F96B9 #522FB9
monochromatic
#574716 #886F23 #B9972F #D3B352 #DFC983

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9972F#FFFFFF#000000##000000
##B9972F1.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)
#A8951E
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#C88A82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9972f;
/* rgb */ color: rgb(185, 151, 47);
/* oklch */ color: oklch(68.9% 0.124 90.0);
Tailwind
colors: {
  custom: {
    50: '#d2b56f',
    500: '#b9972f',
    950: '#000000',
  },
}
SCSS
$custom: #b9972f;
$custom-light: #d2b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9972f",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 45.217,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68943,
    "c": 0.12432,
    "h": 90
  },
  "luminance": 0.32653
}

Semantic roles & 50–950 ramp

primary
#B9972F
secondary
#7B8EC9
accent
#6CE345
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B9972F

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

Preview Lab → · Contrast checker → · Palette generator →

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