#B4A333#B4A333

#B4A333 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.129 H 100.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B4A333
RGBrgb(180, 163, 51)
HSLhsl(52, 56%, 45%)
HSVhsv(52, 72%, 71%)
CMYKcmyk(0%, 9.4%, 71.7%, 29.4%)
CIE-LABlab(66.63, -6.44, 57.34)
CIE-LCHlch(66.63, 57.70, 96.41°)
OKLaboklab(71.01% -0.0235 0.1273)
OKLCHoklch(71.01% 0.129 100.4)
XYZxyz(32.5186, 36.1382, 8.3938)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A333 #3344B4
analogous
#B46233 #B4A333 #84B433
triadic
#B4A333 #33B4A3 #A333B4
tetradic
#B4A333 #33B462 #3344B4 #B43384
square
#B4A333 #33B462 #3344B4 #B43384
split-complementary
#B4A333 #3384B4 #6233B4
monochromatic
#554D18 #847825 #B4A333 #CFBF55 #DCD185

Accessibility & contrast

On white

2.55
#B4A333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B4A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A333
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A333#FFFFFF#000000##000000
##B4A3331.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E21
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#C2978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a333;
/* rgb */ color: rgb(180, 163, 51);
/* oklch */ color: oklch(71.0% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#cebd72',
    500: '#b4a333',
    950: '#000000',
  },
}
SCSS
$custom: #b4a333;
$custom-light: #cebd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a333",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 52.093,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7101,
    "c": 0.12948,
    "h": 100.4
  },
  "luminance": 0.36137
}

Semantic roles & 50–950 ramp

primary
#B4A333
secondary
#7D86C6
accent
#5CDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A333

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

Preview Lab → · Contrast checker → · Palette generator →

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