#B4A166#B4A166

#B4A166 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.081 H 92.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B4A166
RGBrgb(180, 161, 102)
HSLhsl(45, 34%, 55%)
HSVhsv(45, 43%, 71%)
CMYKcmyk(0%, 10.6%, 43.3%, 29.4%)
CIE-LABlab(66.64, -1.38, 33.21)
CIE-LCHlch(66.64, 33.24, 92.37°)
OKLaboklab(71.2% -0.0031 0.081)
OKLCHoklch(71.2% 0.081 92.2)
XYZxyz(33.9664, 36.1536, 17.7570)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A166 #6679B4
analogous
#B47A66 #B4A166 #A0B466
triadic
#B4A166 #66B4A1 #A166B4
tetradic
#B4A166 #66B47A #6679B4 #B466A0
square
#B4A166 #66B47A #6679B4 #B466A0
split-complementary
#B4A166 #66A0B4 #7A66B4
monochromatic
#6B5E34 #948249 #B4A166 #C8BA8F #DCD3B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A166#FFFFFF#000000##000000
##B4A1661.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)
#AD9F62
Deuteranopia (green-blind)
#B2A568
Tritanopia (blue-blind)
#BF9892
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a166;
/* rgb */ color: rgb(180, 161, 102);
/* oklch */ color: oklch(71.2% 0.081 92.2);
Tailwind
colors: {
  custom: {
    50: '#ccbc92',
    500: '#b4a166',
    950: '#000000',
  },
}
SCSS
$custom: #b4a166;
$custom-light: #ccbc92;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a166",
  "rgb": {
    "r": 180,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 45.385,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.71197,
    "c": 0.08102,
    "h": 92.2
  },
  "luminance": 0.36152
}

Semantic roles & 50–950 ramp

primary
#B4A166
secondary
#ABB3CB
accent
#78CA5E
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B4A166

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

Preview Lab → · Contrast checker → · Palette generator →

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