#BFA645#BFA645

#BFA645 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.9% C 0.119 H 94.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#BFA645
RGBrgb(191, 166, 69)
HSLhsl(48, 49%, 51%)
HSVhsv(48, 64%, 75%)
CMYKcmyk(0%, 13.1%, 63.9%, 25.1%)
CIE-LABlab(68.59, -2.19, 52.12)
CIE-LCHlch(68.59, 52.16, 92.41°)
OKLaboklab(72.85% -0.0099 0.1189)
OKLCHoklch(72.85% 0.119 94.8)
XYZxyz(36.1979, 38.7803, 11.2078)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA645 #455EBF
analogous
#BF6945 #BFA645 #9BBF45
triadic
#BFA645 #45BFA6 #A645BF
tetradic
#BFA645 #45BF69 #455EBF #BF459B
square
#BFA645 #45BF69 #455EBF #BF459B
split-complementary
#BFA645 #459BBF #6945BF
monochromatic
#665923 #948033 #BFA645 #CFBC73 #DED2A0

Accessibility & contrast

On white

2.40
#BFA645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#BFA645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA645
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA645#FFFFFF#000000##000000
##BFA6451.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33A
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#CE9A91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa645;
/* rgb */ color: rgb(191, 166, 69);
/* oklch */ color: oklch(72.9% 0.119 94.8);
Tailwind
colors: {
  custom: {
    50: '#d5c07d',
    500: '#bfa645',
    950: '#000000',
  },
}
SCSS
$custom: #bfa645;
$custom-light: #d5c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa645",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 47.705,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72854,
    "c": 0.11935,
    "h": 94.8
  },
  "luminance": 0.38778
}

Semantic roles & 50–950 ramp

primary
#BFA645
secondary
#95A0CB
accent
#6BD84F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFA645

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

Preview Lab → · Contrast checker → · Palette generator →

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