#B4A431#B4A431

#B4A431 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.132 H 101.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B4A431
RGBrgb(180, 164, 49)
HSLhsl(53, 57%, 45%)
HSVhsv(53, 73%, 71%)
CMYKcmyk(0%, 8.9%, 72.8%, 29.4%)
CIE-LABlab(66.88, -7.07, 58.35)
CIE-LCHlch(66.88, 58.78, 96.91°)
OKLaboklab(71.21% -0.0254 0.1291)
OKLCHoklch(71.21% 0.132 101.2)
XYZxyz(32.6537, 36.4774, 8.2260)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A431 #3141B4
analogous
#B46331 #B4A431 #82B431
triadic
#B4A431 #31B4A4 #A431B4
tetradic
#B4A431 #31B463 #3141B4 #B43182
square
#B4A431 #31B463 #3141B4 #B43182
split-complementary
#B4A431 #3182B4 #6331B4
monochromatic
#544C17 #847824 #B4A431 #D0C152 #DDD282

Accessibility & contrast

On white

2.53
#B4A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B4A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A431
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A431#FFFFFF#000000##000000
##B4A4311.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1E
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#C2988D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a431;
/* rgb */ color: rgb(180, 164, 49);
/* oklch */ color: oklch(71.2% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#cebe71',
    500: '#b4a431',
    950: '#000000',
  },
}
SCSS
$custom: #b4a431;
$custom-light: #cebe71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a431",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 52.672,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.1316,
    "h": 101.2
  },
  "luminance": 0.36476
}

Semantic roles & 50–950 ramp

primary
#B4A431
secondary
#7B84C6
accent
#5AE047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A431

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

Preview Lab → · Contrast checker → · Palette generator →

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