#B4971B#B4971B

#B4971B is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.3% C 0.133 H 94.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B4971B
RGBrgb(180, 151, 27)
HSLhsl(49, 74%, 41%)
HSVhsv(49, 85%, 71%)
CMYKcmyk(0%, 16.1%, 85%, 29.4%)
CIE-LABlab(63.27, -0.93, 62.25)
CIE-LCHlch(63.27, 62.25, 90.86°)
OKLaboklab(68.32% -0.0101 0.1331)
OKLCHoklch(68.32% 0.133 94.4)
XYZxyz(30.0886, 31.9175, 5.6126)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4971B #1B38B4
analogous
#B44A1B #B4971B #85B41B
triadic
#B4971B #1BB497 #971BB4
tetradic
#B4971B #1BB44A #1B38B4 #B41B85
square
#B4971B #1BB44A #1B38B4 #B41B85
split-complementary
#B4971B #1B85B4 #4A1BB4
monochromatic
#4A3E0B #7F6A13 #B4971B #DFBE2D #E7CE62

Accessibility & contrast

On white

2.84
#B4971B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B4971B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4971B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4971B#FFFFFF#000000##000000
##B4971B1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#B09D25
Tritanopia (blue-blind)
#C38A81
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b4971b;
/* rgb */ color: rgb(180, 151, 27);
/* oklch */ color: oklch(68.3% 0.133 94.4);
Tailwind
colors: {
  custom: {
    50: '#cfb565',
    500: '#b4971b',
    950: '#000000',
  },
}
SCSS
$custom: #b4971b;
$custom-light: #cfb565;
$custom-dark: #000000;
JSON
{
  "hex": "#b4971b",
  "rgb": {
    "r": 180,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 48.627,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68316,
    "c": 0.13345,
    "h": 94.4
  },
  "luminance": 0.31916
}

Semantic roles & 50–950 ramp

primary
#B4971B
secondary
#5F73CC
accent
#5AF137
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B4971B

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

Preview Lab → · Contrast checker → · Palette generator →

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