#B4981A#B4981A

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

Color values

HEX#B4981A
RGBrgb(180, 152, 26)
HSLhsl(49, 75%, 40%)
HSVhsv(49, 86%, 71%)
CMYKcmyk(0%, 15.6%, 85.6%, 29.4%)
CIE-LABlab(63.54, -1.50, 62.73)
CIE-LCHlch(63.54, 62.75, 91.37°)
OKLaboklab(68.52% -0.0118 0.1339)
OKLCHoklch(68.52% 0.134 95)
XYZxyz(30.2388, 32.2362, 5.6066)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4981A #1A36B4
analogous
#B44B1A #B4981A #83B41A
triadic
#B4981A #1AB498 #981AB4
tetradic
#B4981A #1AB44B #1A36B4 #B41A83
square
#B4981A #1AB44B #1A36B4 #B41A83
split-complementary
#B4981A #1A83B4 #4B1AB4
monochromatic
#493E0B #7F6B12 #B4981A #E0BF2B #E8CF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4981A#FFFFFF#000000##000000
##B4981A1.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)
#B09D25
Tritanopia (blue-blind)
#C38B82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b4981a;
/* rgb */ color: rgb(180, 152, 26);
/* oklch */ color: oklch(68.5% 0.134 95.0);
Tailwind
colors: {
  custom: {
    50: '#cfb565',
    500: '#b4981a',
    950: '#000000',
  },
}
SCSS
$custom: #b4981a;
$custom-light: #cfb565;
$custom-dark: #000000;
JSON
{
  "hex": "#b4981a",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 49.091,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68523,
    "c": 0.13444,
    "h": 95
  },
  "luminance": 0.32234
}

Semantic roles & 50–950 ramp

primary
#B4981A
secondary
#5D72CC
accent
#58F136
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B4981A

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

Preview Lab → · Contrast checker → · Palette generator →

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