#B4941F#B4941F

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

Color values

HEX#B4941F
RGBrgb(180, 148, 31)
HSLhsl(47, 71%, 41%)
HSVhsv(47, 83%, 71%)
CMYKcmyk(0%, 17.8%, 82.8%, 29.4%)
CIE-LABlab(62.49, 0.81, 60.45)
CIE-LCHlch(62.49, 60.46, 89.23°)
OKLaboklab(67.71% -0.0049 0.13)
OKLCHoklch(67.71% 0.13 92.1)
XYZxyz(29.6614, 30.9839, 5.7143)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4941F #1F3FB4
analogous
#B44A1F #B4941F #8AB41F
triadic
#B4941F #1FB494 #941FB4
tetradic
#B4941F #1FB44A #1F3FB4 #B41F8A
square
#B4941F #1FB44A #1F3FB4 #B41F8A
split-complementary
#B4941F #1F8AB4 #4A1FB4
monochromatic
#4C3E0D #806916 #B4941F #DCB834 #E5CA68

Accessibility & contrast

On white

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

On black

7.20
#B4941F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4941F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4941F#FFFFFF#000000##000000
##B4941F1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#AD9B27
Tritanopia (blue-blind)
#C3877F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b4941f;
/* rgb */ color: rgb(180, 148, 31);
/* oklch */ color: oklch(67.7% 0.130 92.1);
Tailwind
colors: {
  custom: {
    50: '#cfb367',
    500: '#b4941f',
    950: '#000000',
  },
}
SCSS
$custom: #b4941f;
$custom-light: #cfb367;
$custom-dark: #000000;
JSON
{
  "hex": "#b4941f",
  "rgb": {
    "r": 180,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 47.114,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67705,
    "c": 0.13006,
    "h": 92.1
  },
  "luminance": 0.30982
}

Semantic roles & 50–950 ramp

primary
#B4941F
secondary
#647ACB
accent
#61ED3A
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B4941F

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

Preview Lab → · Contrast checker → · Palette generator →

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