#B7972E#B7972E

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

Color values

HEX#B7972E
RGBrgb(183, 151, 46)
HSLhsl(46, 60%, 45%)
HSVhsv(46, 75%, 72%)
CMYKcmyk(0%, 17.5%, 74.9%, 28.2%)
CIE-LABlab(63.67, 1.09, 56.49)
CIE-LCHlch(63.67, 56.50, 88.89°)
OKLaboklab(68.73% -0.0027 0.1245)
OKLCHoklch(68.73% 0.124 91.3)
XYZxyz(31.0900, 32.3997, 7.2005)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7972E #2E4EB7
analogous
#B7522E #B7972E #93B72E
triadic
#B7972E #2EB797 #972EB7
tetradic
#B7972E #2EB752 #2E4EB7 #B72E93
square
#B7972E #2EB752 #2E4EB7 #B72E93
split-complementary
#B7972E #2E93B7 #522EB7
monochromatic
#554615 #866F22 #B7972E #D3B44F #DFC980

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7972E#FFFFFF#000000##000000
##B7972E1.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)
#A8951D
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#C68A82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b7972e;
/* rgb */ color: rgb(183, 151, 46);
/* oklch */ color: oklch(68.7% 0.124 91.3);
Tailwind
colors: {
  custom: {
    50: '#d1b56e',
    500: '#b7972e',
    950: '#000000',
  },
}
SCSS
$custom: #b7972e;
$custom-light: #d1b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7972e",
  "rgb": {
    "r": 183,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 45.985,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6873,
    "c": 0.12448,
    "h": 91.3
  },
  "luminance": 0.32398
}

Semantic roles & 50–950 ramp

primary
#B7972E
secondary
#798BC8
accent
#6AE345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B7972E

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

Preview Lab → · Contrast checker → · Palette generator →

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