#B4981F#B4981F

#B4981F is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.5% C 0.132 H 94.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B4981F
RGBrgb(180, 152, 31)
HSLhsl(49, 71%, 41%)
HSVhsv(49, 83%, 71%)
CMYKcmyk(0%, 15.6%, 82.8%, 29.4%)
CIE-LABlab(63.56, -1.36, 61.37)
CIE-LCHlch(63.56, 61.39, 91.27°)
OKLaboklab(68.55% -0.011 0.132)
OKLCHoklch(68.55% 0.132 94.8)
XYZxyz(30.2997, 32.2605, 5.9270)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4981F #1F3BB4
analogous
#B44E1F #B4981F #86B41F
triadic
#B4981F #1FB498 #981FB4
tetradic
#B4981F #1FB44E #1F3BB4 #B41F86
square
#B4981F #1FB44E #1F3BB4 #B41F86
split-complementary
#B4981F #1F86B4 #4E1FB4
monochromatic
#4C400D #806C16 #B4981F #DCBD34 #E5CE68

Accessibility & contrast

On white

2.82
#B4981F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B4981F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4981F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4981F#FFFFFF#000000##000000
##B4981F1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#B09E28
Tritanopia (blue-blind)
#C38B82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b4981f;
/* rgb */ color: rgb(180, 152, 31);
/* oklch */ color: oklch(68.5% 0.132 94.8);
Tailwind
colors: {
  custom: {
    50: '#cfb567',
    500: '#b4981f',
    950: '#000000',
  },
}
SCSS
$custom: #b4981f;
$custom-light: #cfb567;
$custom-dark: #000000;
JSON
{
  "hex": "#b4981f",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 48.725,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68545,
    "c": 0.13242,
    "h": 94.8
  },
  "luminance": 0.32259
}

Semantic roles & 50–950 ramp

primary
#B4981F
secondary
#6477CB
accent
#5CED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B4981F

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

Preview Lab → · Contrast checker → · Palette generator →

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