#B4A632#B4A632

#B4A632 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.133 H 102.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B4A632
RGBrgb(180, 166, 50)
HSLhsl(54, 57%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 7.8%, 72.2%, 29.4%)
CIE-LABlab(67.43, -8.07, 58.51)
CIE-LCHlch(67.43, 59.07, 97.86°)
OKLaboklab(71.65% -0.0282 0.1296)
OKLCHoklch(71.65% 0.133 102.3)
XYZxyz(33.0358, 37.2074, 8.4586)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A632 #3240B4
analogous
#B46532 #B4A632 #81B432
triadic
#B4A632 #32B4A6 #A632B4
tetradic
#B4A632 #32B465 #3240B4 #B43281
square
#B4A632 #32B465 #3240B4 #B43281
split-complementary
#B4A632 #3281B4 #6532B4
monochromatic
#544E17 #847A25 #B4A632 #CFC254 #DDD384

Accessibility & contrast

On white

2.49
#B4A632 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B4A632 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A632
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A632#FFFFFF#000000##000000
##B4A6321.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11F
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#C29A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a632;
/* rgb */ color: rgb(180, 166, 50);
/* oklch */ color: oklch(71.6% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#cec072',
    500: '#b4a632',
    950: '#000000',
  },
}
SCSS
$custom: #b4a632;
$custom-light: #cec072;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a632",
  "rgb": {
    "r": 180,
    "g": 166,
    "b": 50
  },
  "hsl": {
    "h": 53.538,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71649,
    "c": 0.13266,
    "h": 102.3
  },
  "luminance": 0.37206
}

Semantic roles & 50–950 ramp

primary
#B4A632
secondary
#7C84C6
accent
#58E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A632

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

Preview Lab → · Contrast checker → · Palette generator →

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