#B8972F#B8972F

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

Color values

HEX#B8972F
RGBrgb(184, 151, 47)
HSLhsl(46, 59%, 45%)
HSVhsv(46, 74%, 72%)
CMYKcmyk(0%, 17.9%, 74.5%, 27.8%)
CIE-LABlab(63.78, 1.58, 56.24)
CIE-LCHlch(63.78, 56.26, 88.39°)
OKLaboklab(68.84% -0.0013 0.1241)
OKLCHoklch(68.84% 0.124 90.6)
XYZxyz(31.3486, 32.5307, 7.3167)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8972F #2F50B8
analogous
#B8522F #B8972F #95B82F
triadic
#B8972F #2FB897 #972FB8
tetradic
#B8972F #2FB852 #2F50B8 #B82F95
square
#B8972F #2FB852 #2F50B8 #B82F95
split-complementary
#B8972F #2F95B8 #522FB8
monochromatic
#574716 #876F23 #B8972F #D3B452 #DFC982

Accessibility & contrast

On white

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

On black

7.51
#B8972F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8972F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8972F#FFFFFF#000000##000000
##B8972F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8972f;
/* rgb */ color: rgb(184, 151, 47);
/* oklch */ color: oklch(68.8% 0.124 90.6);
Tailwind
colors: {
  custom: {
    50: '#d1b56f',
    500: '#b8972f',
    950: '#000000',
  },
}
SCSS
$custom: #b8972f;
$custom-light: #d1b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8972f",
  "rgb": {
    "r": 184,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 45.547,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6884,
    "c": 0.12409,
    "h": 90.6
  },
  "luminance": 0.32529
}

Semantic roles & 50–950 ramp

primary
#B8972F
secondary
#7B8DC8
accent
#6BE245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B8972F

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

Preview Lab → · Contrast checker → · Palette generator →

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