#B4A332#B4A332

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

Color values

HEX#B4A332
RGBrgb(180, 163, 50)
HSLhsl(52, 57%, 45%)
HSVhsv(52, 72%, 71%)
CMYKcmyk(0%, 9.4%, 72.2%, 29.4%)
CIE-LABlab(66.62, -6.49, 57.72)
CIE-LCHlch(66.62, 58.08, 96.41°)
OKLaboklab(71% -0.0237 0.128)
OKLCHoklch(71% 0.13 100.5)
XYZxyz(32.4968, 36.1295, 8.2790)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A332 #3243B4
analogous
#B46232 #B4A332 #84B432
triadic
#B4A332 #32B4A3 #A332B4
tetradic
#B4A332 #32B462 #3243B4 #B43284
square
#B4A332 #32B462 #3243B4 #B43284
split-complementary
#B4A332 #3284B4 #6232B4
monochromatic
#544C17 #847825 #B4A332 #CFBF54 #DDD184

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A332#FFFFFF#000000##000000
##B4A3321.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)
#B39E20
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#C2978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a332;
/* rgb */ color: rgb(180, 163, 50);
/* oklch */ color: oklch(71.0% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#cebd71',
    500: '#b4a332',
    950: '#000000',
  },
}
SCSS
$custom: #b4a332;
$custom-light: #cebd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a332",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 52.154,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71003,
    "c": 0.13013,
    "h": 100.5
  },
  "luminance": 0.36128
}

Semantic roles & 50–950 ramp

primary
#B4A332
secondary
#7C85C6
accent
#5CE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A332

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

Preview Lab → · Contrast checker → · Palette generator →

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