#B4A033#B4A033

#B4A033 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.127 H 98.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B4A033
RGBrgb(180, 160, 51)
HSLhsl(51, 56%, 45%)
HSVhsv(51, 72%, 71%)
CMYKcmyk(0%, 11.1%, 71.7%, 29.4%)
CIE-LABlab(65.82, -4.84, 56.54)
CIE-LCHlch(65.82, 56.75, 94.90°)
OKLaboklab(70.37% -0.0189 0.1257)
OKLCHoklch(70.37% 0.127 98.6)
XYZxyz(31.9923, 35.0855, 8.2184)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A033 #3347B4
analogous
#B46033 #B4A033 #87B433
triadic
#B4A033 #33B4A0 #A033B4
tetradic
#B4A033 #33B460 #3347B4 #B43387
square
#B4A033 #33B460 #3347B4 #B43387
split-complementary
#B4A033 #3387B4 #6033B4
monochromatic
#554B18 #847625 #B4A033 #CFBC55 #DCCF85

Accessibility & contrast

On white

2.62
#B4A033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B4A033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A033
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A033#FFFFFF#000000##000000
##B4A0331.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#C2948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a033;
/* rgb */ color: rgb(180, 160, 51);
/* oklch */ color: oklch(70.4% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#cebb72',
    500: '#b4a033',
    950: '#000000',
  },
}
SCSS
$custom: #b4a033;
$custom-light: #cebb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a033",
  "rgb": {
    "r": 180,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 50.698,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70368,
    "c": 0.12707,
    "h": 98.6
  },
  "luminance": 0.35084
}

Semantic roles & 50–950 ramp

primary
#B4A033
secondary
#7D88C6
accent
#60DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B4A033

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

Preview Lab → · Contrast checker → · Palette generator →

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