#B4971F#B4971F

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

Color values

HEX#B4971F
RGBrgb(180, 151, 31)
HSLhsl(48, 71%, 41%)
HSVhsv(48, 83%, 71%)
CMYKcmyk(0%, 16.1%, 82.8%, 29.4%)
CIE-LABlab(63.29, -0.82, 61.14)
CIE-LCHlch(63.29, 61.15, 90.77°)
OKLaboklab(68.33% -0.0095 0.1315)
OKLCHoklch(68.33% 0.132 94.1)
XYZxyz(30.1381, 31.9373, 5.8732)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4971F #1F3CB4
analogous
#B44D1F #B4971F #87B41F
triadic
#B4971F #1FB497 #971FB4
tetradic
#B4971F #1FB44D #1F3CB4 #B41F87
square
#B4971F #1FB44D #1F3CB4 #B41F87
split-complementary
#B4971F #1F87B4 #4D1FB4
monochromatic
#4C3F0D #806B16 #B4971F #DCBB34 #E5CD68

Accessibility & contrast

On white

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

On black

7.39
#B4971F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4971F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4971F#FFFFFF#000000##000000
##B4971F1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4971f;
/* rgb */ color: rgb(180, 151, 31);
/* oklch */ color: oklch(68.3% 0.132 94.1);
Tailwind
colors: {
  custom: {
    50: '#cfb567',
    500: '#b4971f',
    950: '#000000',
  },
}
SCSS
$custom: #b4971f;
$custom-light: #cfb567;
$custom-dark: #000000;
JSON
{
  "hex": "#b4971f",
  "rgb": {
    "r": 180,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 48.322,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68334,
    "c": 0.1318,
    "h": 94.1
  },
  "luminance": 0.31935
}

Semantic roles & 50–950 ramp

primary
#B4971F
secondary
#6478CB
accent
#5DED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B4971F

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

Preview Lab → · Contrast checker → · Palette generator →

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