#B7972B#B7972B

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

Color values

HEX#B7972B
RGBrgb(183, 151, 43)
HSLhsl(46, 62%, 44%)
HSVhsv(46, 77%, 72%)
CMYKcmyk(0%, 17.5%, 76.5%, 28.2%)
CIE-LABlab(63.65, 0.96, 57.60)
CIE-LCHlch(63.65, 57.60, 89.04°)
OKLaboklab(68.71% -0.0034 0.1262)
OKLCHoklch(68.71% 0.126 91.6)
XYZxyz(31.0329, 32.3768, 6.8999)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7972B #2B4BB7
analogous
#B7512B #B7972B #91B72B
triadic
#B7972B #2BB797 #972BB7
tetradic
#B7972B #2BB751 #2B4BB7 #B72B91
square
#B7972B #2BB751 #2B4BB7 #B72B91
split-complementary
#B7972B #2B91B7 #512BB7
monochromatic
#544514 #856E1F #B7972B #D5B54B #E0C97C

Accessibility & contrast

On white

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

On black

7.47
#B7972B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7972B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7972B#FFFFFF#000000##000000
##B7972B1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7972b;
/* rgb */ color: rgb(183, 151, 43);
/* oklch */ color: oklch(68.7% 0.126 91.6);
Tailwind
colors: {
  custom: {
    50: '#d1b56d',
    500: '#b7972b',
    950: '#000000',
  },
}
SCSS
$custom: #b7972b;
$custom-light: #d1b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7972b",
  "rgb": {
    "r": 183,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 46.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.12625,
    "h": 91.6
  },
  "luminance": 0.32375
}

Semantic roles & 50–950 ramp

primary
#B7972B
secondary
#7588C9
accent
#68E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B7972B

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

Preview Lab → · Contrast checker → · Palette generator →

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