#B4971A#B4971A

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

Color values

HEX#B4971A
RGBrgb(180, 151, 26)
HSLhsl(49, 75%, 40%)
HSVhsv(49, 86%, 71%)
CMYKcmyk(0%, 16.1%, 85.6%, 29.4%)
CIE-LABlab(63.27, -0.96, 62.51)
CIE-LCHlch(63.27, 62.51, 90.88°)
OKLaboklab(68.31% -0.0103 0.1334)
OKLCHoklch(68.31% 0.134 94.4)
XYZxyz(30.0772, 31.9129, 5.5527)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4971A #1A37B4
analogous
#B44A1A #B4971A #84B41A
triadic
#B4971A #1AB497 #971AB4
tetradic
#B4971A #1AB44A #1A37B4 #B41A84
square
#B4971A #1AB44A #1A37B4 #B41A84
split-complementary
#B4971A #1A84B4 #4A1AB4
monochromatic
#493D0B #7F6A12 #B4971A #E0BE2B #E8CF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4971A#FFFFFF#000000##000000
##B4971A1.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)
#B09D24
Tritanopia (blue-blind)
#C38A81
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b4971a;
/* rgb */ color: rgb(180, 151, 26);
/* oklch */ color: oklch(68.3% 0.134 94.4);
Tailwind
colors: {
  custom: {
    50: '#cfb565',
    500: '#b4971a',
    950: '#000000',
  },
}
SCSS
$custom: #b4971a;
$custom-light: #cfb565;
$custom-dark: #000000;
JSON
{
  "hex": "#b4971a",
  "rgb": {
    "r": 180,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 48.701,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68312,
    "c": 0.13383,
    "h": 94.4
  },
  "luminance": 0.31911
}

Semantic roles & 50–950 ramp

primary
#B4971A
secondary
#5D72CC
accent
#5AF136
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B4971A

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

Preview Lab → · Contrast checker → · Palette generator →

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