#B8A666#B8A666

#B8A666 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.6% C 0.086 H 94.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B8A666
RGBrgb(184, 166, 102)
HSLhsl(47, 37%, 56%)
HSVhsv(47, 45%, 72%)
CMYKcmyk(0%, 9.8%, 44.6%, 27.8%)
CIE-LABlab(68.33, -2.40, 35.43)
CIE-LCHlch(68.33, 35.51, 93.87°)
OKLaboklab(72.62% -0.0063 0.086)
OKLCHoklch(72.62% 0.086 94.2)
XYZxyz(35.8026, 38.4234, 18.0983)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A666 #6678B8
analogous
#B87D66 #B8A666 #A1B866
triadic
#B8A666 #66B8A6 #A666B8
tetradic
#B8A666 #66B87D #6678B8 #B866A1
square
#B8A666 #66B87D #6678B8 #B866A1
split-complementary
#B8A666 #66A1B8 #7D66B8
monochromatic
#706334 #9A8747 #B8A666 #CBBE90 #DFD7BA

Accessibility & contrast

On white

2.42
#B8A666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B8A666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A666
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A666#FFFFFF#000000##000000
##B8A6661.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A361
Deuteranopia (green-blind)
#B7A968
Tritanopia (blue-blind)
#C39D96
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a666;
/* rgb */ color: rgb(184, 166, 102);
/* oklch */ color: oklch(72.6% 0.086 94.2);
Tailwind
colors: {
  custom: {
    50: '#cfc092',
    500: '#b8a666',
    950: '#000000',
  },
}
SCSS
$custom: #b8a666;
$custom-light: #cfc092;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a666",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 102
  },
  "hsl": {
    "h": 46.829,
    "s": 36.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.72621,
    "c": 0.0862,
    "h": 94.2
  },
  "luminance": 0.38422
}

Semantic roles & 50–950 ramp

primary
#B8A666
secondary
#ACB3CE
accent
#74CD5B
background
#FCFBF9
surface
#F9F7F1
border
#D2D0CB
text
#14120D
muted
#82817E

Preview Lab

Preview with #B8A666

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

Preview Lab → · Contrast checker → · Palette generator →

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