#B4A642#B4A642

#B4A642 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.121 H 101.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B4A642
RGBrgb(180, 166, 66)
HSLhsl(53, 46%, 48%)
HSVhsv(53, 63%, 71%)
CMYKcmyk(0%, 7.8%, 63.3%, 29.4%)
CIE-LABlab(67.55, -7.16, 52.04)
CIE-LCHlch(67.55, 52.53, 97.83°)
OKLaboklab(71.78% -0.0238 0.1186)
OKLCHoklch(71.78% 0.121 101.3)
XYZxyz(33.4433, 37.3705, 10.6048)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A642 #4250B4
analogous
#B46D42 #B4A642 #89B442
triadic
#B4A642 #42B4A6 #A642B4
tetradic
#B4A642 #42B46D #4250B4 #B44289
square
#B4A642 #42B46D #4250B4 #B44289
split-complementary
#B4A642 #4289B4 #6D42B4
monochromatic
#5A5321 #877D32 #B4A642 #C9BD6B #D9D197

Accessibility & contrast

On white

2.48
#B4A642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B4A642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A642
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A642#FFFFFF#000000##000000
##B4A6421.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A136
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#C19B91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a642;
/* rgb */ color: rgb(180, 166, 66);
/* oklch */ color: oklch(71.8% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#cdc07b',
    500: '#b4a642',
    950: '#000000',
  },
}
SCSS
$custom: #b4a642;
$custom-light: #cdc07b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a642",
  "rgb": {
    "r": 180,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 52.632,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71784,
    "c": 0.12101,
    "h": 101.3
  },
  "luminance": 0.37369
}

Semantic roles & 50–950 ramp

primary
#B4A642
secondary
#8D94C5
accent
#62D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B4A642

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

Preview Lab → · Contrast checker → · Palette generator →

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