#B8972D#B8972D

#B8972D is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.8% C 0.125 H 90.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B8972D
RGBrgb(184, 151, 45)
HSLhsl(46, 61%, 45%)
HSVhsv(46, 76%, 72%)
CMYKcmyk(0%, 17.9%, 75.5%, 27.8%)
CIE-LABlab(63.77, 1.49, 56.99)
CIE-LCHlch(63.77, 57.01, 88.50°)
OKLaboklab(68.83% -0.0017 0.1253)
OKLCHoklch(68.83% 0.125 90.8)
XYZxyz(31.3092, 32.5150, 7.1090)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8972D #2D4EB8
analogous
#B8512D #B8972D #94B82D
triadic
#B8972D #2DB897 #972DB8
tetradic
#B8972D #2DB851 #2D4EB8 #B82D94
square
#B8972D #2DB851 #2D4EB8 #B82D94
split-complementary
#B8972D #2D94B8 #512DB8
monochromatic
#564615 #876F21 #B8972D #D4B44E #E0C980

Accessibility & contrast

On white

2.80
#B8972D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B8972D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8972D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8972D#FFFFFF#000000##000000
##B8972D1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951B
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#C78A82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b8972d;
/* rgb */ color: rgb(184, 151, 45);
/* oklch */ color: oklch(68.8% 0.125 90.8);
Tailwind
colors: {
  custom: {
    50: '#d1b56e',
    500: '#b8972d',
    950: '#000000',
  },
}
SCSS
$custom: #b8972d;
$custom-light: #d1b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8972d",
  "rgb": {
    "r": 184,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 45.755,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68826,
    "c": 0.12529,
    "h": 90.8
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

primary
#B8972D
secondary
#788BC9
accent
#6AE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B8972D

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

Preview Lab → · Contrast checker → · Palette generator →

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