#BFB166#BFB166

#BFB166 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.097 H 99.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#BFB166
RGBrgb(191, 177, 102)
HSLhsl(51, 41%, 57%)
HSVhsv(51, 47%, 75%)
CMYKcmyk(0%, 7.3%, 46.6%, 25.1%)
CIE-LABlab(71.88, -5.33, 40.00)
CIE-LCHlch(71.88, 40.36, 97.59°)
OKLaboklab(75.58% -0.0152 0.0962)
OKLCHoklch(75.58% 0.097 99)
XYZxyz(39.6073, 43.4813, 18.8742)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB166 #6674BF
analogous
#BF8566 #BFB166 #A0BF66
triadic
#BFB166 #66BFB1 #B166BF
tetradic
#BFB166 #66BF85 #6674BF #BF66A0
square
#BFB166 #66BF85 #6674BF #BF66A0
split-complementary
#BFB166 #66A0BF #8566BF
monochromatic
#786D32 #A39444 #BFB166 #D1C791 #E3DDBC

Accessibility & contrast

On white

2.17
#BFB166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#BFB166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB166
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB166#FFFFFF#000000##000000
##BFB1661.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAD60
Deuteranopia (green-blind)
#C2B269
Tritanopia (blue-blind)
#CBA79F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb166;
/* rgb */ color: rgb(191, 177, 102);
/* oklch */ color: oklch(75.6% 0.097 99.0);
Tailwind
colors: {
  custom: {
    50: '#d4c893',
    500: '#bfb166',
    950: '#000000',
  },
}
SCSS
$custom: #bfb166;
$custom-light: #d4c893;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb166",
  "rgb": {
    "r": 191,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 50.562,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.75576,
    "c": 0.09734,
    "h": 99
  },
  "luminance": 0.4348
}

Semantic roles & 50–950 ramp

primary
#BFB166
secondary
#AEB4D2
accent
#6AD157
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E

Preview Lab

Preview with #BFB166

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

Preview Lab → · Contrast checker → · Palette generator →

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