#B4941B#B4941B

#B4941B is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.7% C 0.132 H 92.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B4941B
RGBrgb(180, 148, 27)
HSLhsl(47, 74%, 41%)
HSVhsv(47, 85%, 71%)
CMYKcmyk(0%, 17.8%, 85%, 29.4%)
CIE-LABlab(62.48, 0.69, 61.58)
CIE-LCHlch(62.48, 61.59, 89.35°)
OKLaboklab(67.69% -0.0055 0.1316)
OKLCHoklch(67.69% 0.132 92.4)
XYZxyz(29.6119, 30.9641, 5.4537)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4941B #1B3BB4
analogous
#B4471B #B4941B #87B41B
triadic
#B4941B #1BB494 #941BB4
tetradic
#B4941B #1BB447 #1B3BB4 #B41B87
square
#B4941B #1BB447 #1B3BB4 #B41B87
split-complementary
#B4941B #1B87B4 #471BB4
monochromatic
#4A3C0B #7F6813 #B4941B #DFBA2D #E7CC62

Accessibility & contrast

On white

2.92
#B4941B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B4941B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4941B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4941B#FFFFFF#000000##000000
##B4941B1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#AD9B24
Tritanopia (blue-blind)
#C3877E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b4941b;
/* rgb */ color: rgb(180, 148, 27);
/* oklch */ color: oklch(67.7% 0.132 92.4);
Tailwind
colors: {
  custom: {
    50: '#cfb365',
    500: '#b4941b',
    950: '#000000',
  },
}
SCSS
$custom: #b4941b;
$custom-light: #cfb365;
$custom-dark: #000000;
JSON
{
  "hex": "#b4941b",
  "rgb": {
    "r": 180,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 47.451,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67686,
    "c": 0.13171,
    "h": 92.4
  },
  "luminance": 0.30962
}

Semantic roles & 50–950 ramp

primary
#B4941B
secondary
#5F76CC
accent
#5EF137
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B4941B

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

Preview Lab → · Contrast checker → · Palette generator →

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