#B7972F#B7972F

#B7972F is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.7% C 0.124 H 91.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B7972F
RGBrgb(183, 151, 47)
HSLhsl(46, 59%, 45%)
HSVhsv(46, 74%, 72%)
CMYKcmyk(0%, 17.5%, 74.3%, 28.2%)
CIE-LABlab(63.68, 1.14, 56.11)
CIE-LCHlch(63.68, 56.12, 88.84°)
OKLaboklab(68.74% -0.0025 0.1238)
OKLCHoklch(68.74% 0.124 91.1)
XYZxyz(31.1099, 32.4076, 7.3055)
Luminance0.3241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7972F #2F4FB7
analogous
#B7532F #B7972F #93B72F
triadic
#B7972F #2FB797 #972FB7
tetradic
#B7972F #2FB753 #2F4FB7 #B72F93
square
#B7972F #2FB753 #2F4FB7 #B72F93
split-complementary
#B7972F #2F93B7 #532FB7
monochromatic
#564716 #866F22 #B7972F #D2B451 #DFC982

Accessibility & contrast

On white

2.81
#B7972F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B7972F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7972F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7972F#FFFFFF#000000##000000
##B7972F1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7972f;
/* rgb */ color: rgb(183, 151, 47);
/* oklch */ color: oklch(68.7% 0.124 91.1);
Tailwind
colors: {
  custom: {
    50: '#d1b56f',
    500: '#b7972f',
    950: '#000000',
  },
}
SCSS
$custom: #b7972f;
$custom-light: #d1b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7972f",
  "rgb": {
    "r": 183,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 45.882,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68737,
    "c": 0.12386,
    "h": 91.1
  },
  "luminance": 0.32406
}

Semantic roles & 50–950 ramp

primary
#B7972F
secondary
#7A8CC8
accent
#6AE245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B7972F

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

Preview Lab → · Contrast checker → · Palette generator →

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