#B4A733#B4A733

#B4A733 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.133 H 102.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B4A733
RGBrgb(180, 167, 51)
HSLhsl(54, 56%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 7.2%, 71.7%, 29.4%)
CIE-LABlab(67.71, -8.55, 58.40)
CIE-LCHlch(67.71, 59.03, 98.33°)
OKLaboklab(71.87% -0.0294 0.1296)
OKLCHoklch(71.87% 0.133 102.8)
XYZxyz(33.2401, 37.5811, 8.6343)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A733 #3340B4
analogous
#B46633 #B4A733 #81B433
triadic
#B4A733 #33B4A7 #A733B4
tetradic
#B4A733 #33B466 #3340B4 #B43381
square
#B4A733 #33B466 #3340B4 #B43381
split-complementary
#B4A733 #3381B4 #6633B4
monochromatic
#554F18 #847B25 #B4A733 #CFC355 #DCD485

Accessibility & contrast

On white

2.47
#B4A733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B4A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A733
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A733#FFFFFF#000000##000000
##B4A7331.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A220
Deuteranopia (green-blind)
#BAA83B
Tritanopia (blue-blind)
#C29B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a733;
/* rgb */ color: rgb(180, 167, 51);
/* oklch */ color: oklch(71.9% 0.133 102.8);
Tailwind
colors: {
  custom: {
    50: '#cec072',
    500: '#b4a733',
    950: '#000000',
  },
}
SCSS
$custom: #b4a733;
$custom-light: #cec072;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a733",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 53.953,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71872,
    "c": 0.13289,
    "h": 102.8
  },
  "luminance": 0.3758
}

Semantic roles & 50–950 ramp

primary
#B4A733
secondary
#7D84C6
accent
#58DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A733

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

Preview Lab → · Contrast checker → · Palette generator →

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