#B4951F#B4951F

#B4951F is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.9% C 0.131 H 92.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B4951F
RGBrgb(180, 149, 31)
HSLhsl(48, 71%, 41%)
HSVhsv(48, 83%, 71%)
CMYKcmyk(0%, 17.2%, 82.8%, 29.4%)
CIE-LABlab(62.76, 0.27, 60.68)
CIE-LCHlch(62.76, 60.68, 89.75°)
OKLaboklab(67.91% -0.0064 0.1305)
OKLCHoklch(67.91% 0.131 92.8)
XYZxyz(29.8189, 31.2990, 5.7668)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4951F #1F3EB4
analogous
#B44B1F #B4951F #89B41F
triadic
#B4951F #1FB495 #951FB4
tetradic
#B4951F #1FB44B #1F3EB4 #B41F89
square
#B4951F #1FB44B #1F3EB4 #B41F89
split-complementary
#B4951F #1F89B4 #4B1FB4
monochromatic
#4C3F0D #806A16 #B4951F #DCB934 #E5CB68

Accessibility & contrast

On white

2.89
#B4951F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B4951F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4951F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4951F#FFFFFF#000000##000000
##B4951F1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#AE9C28
Tritanopia (blue-blind)
#C38880
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b4951f;
/* rgb */ color: rgb(180, 149, 31);
/* oklch */ color: oklch(67.9% 0.131 92.8);
Tailwind
colors: {
  custom: {
    50: '#cfb367',
    500: '#b4951f',
    950: '#000000',
  },
}
SCSS
$custom: #b4951f;
$custom-light: #cfb367;
$custom-dark: #000000;
JSON
{
  "hex": "#b4951f",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 47.517,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.13063,
    "h": 92.8
  },
  "luminance": 0.31297
}

Semantic roles & 50–950 ramp

primary
#B4951F
secondary
#6479CB
accent
#60ED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B4951F

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

Preview Lab → · Contrast checker → · Palette generator →

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