#B4A646#B4A646

#B4A646 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.118 H 101.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B4A646
RGBrgb(180, 166, 70)
HSLhsl(52, 44%, 49%)
HSVhsv(52, 61%, 71%)
CMYKcmyk(0%, 7.8%, 61.1%, 29.4%)
CIE-LABlab(67.59, -6.89, 50.28)
CIE-LCHlch(67.59, 50.75, 97.80°)
OKLaboklab(71.83% -0.0226 0.1155)
OKLCHoklch(71.83% 0.118 101.1)
XYZxyz(33.5654, 37.4193, 11.2478)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A646 #4654B4
analogous
#B46F46 #B4A646 #8BB446
triadic
#B4A646 #46B4A6 #A646B4
tetradic
#B4A646 #46B46F #4654B4 #B4468B
square
#B4A646 #46B46F #4654B4 #B4468B
split-complementary
#B4A646 #468BB4 #6F46B4
monochromatic
#5C5524 #887D35 #B4A646 #C7BC70 #D8D19C

Accessibility & contrast

On white

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

On black

8.48
#B4A646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A646
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A646#FFFFFF#000000##000000
##B4A6461.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13B
Deuteranopia (green-blind)
#B8A74B
Tritanopia (blue-blind)
#C19B91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a646;
/* rgb */ color: rgb(180, 166, 70);
/* oklch */ color: oklch(71.8% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#cdc07d',
    500: '#b4a646',
    950: '#000000',
  },
}
SCSS
$custom: #b4a646;
$custom-light: #cdc07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a646",
  "rgb": {
    "r": 180,
    "g": 166,
    "b": 70
  },
  "hsl": {
    "h": 52.364,
    "s": 44,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71825,
    "c": 0.11765,
    "h": 101.1
  },
  "luminance": 0.37418
}

Semantic roles & 50–950 ramp

primary
#B4A646
secondary
#9198C5
accent
#64D454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B4A646

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

Preview Lab → · Contrast checker → · Palette generator →

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