#BFA642#BFA642

#BFA642 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.8% C 0.122 H 95.1°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#BFA642
RGBrgb(191, 166, 66)
HSLhsl(48, 49%, 50%)
HSVhsv(48, 65%, 75%)
CMYKcmyk(0%, 13.1%, 65.4%, 25.1%)
CIE-LABlab(68.57, -2.38, 53.42)
CIE-LCHlch(68.57, 53.48, 92.56°)
OKLaboklab(72.82% -0.0108 0.1213)
OKLCHoklch(72.82% 0.122 95.1)
XYZxyz(36.1071, 38.7440, 10.7297)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA642 #425BBF
analogous
#BF6742 #BFA642 #99BF42
triadic
#BFA642 #42BFA6 #A642BF
tetradic
#BFA642 #42BF67 #425BBF #BF4299
square
#BFA642 #42BF67 #425BBF #BF4299
split-complementary
#BFA642 #4299BF #6742BF
monochromatic
#655722 #927F32 #BFA642 #CEBC70 #DED19D

Accessibility & contrast

On white

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

On black

8.75
#BFA642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA642
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA642#FFFFFF#000000##000000
##BFA6421.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfa642;
/* rgb */ color: rgb(191, 166, 66);
/* oklch */ color: oklch(72.8% 0.122 95.1);
Tailwind
colors: {
  custom: {
    50: '#d6c07b',
    500: '#bfa642',
    950: '#000000',
  },
}
SCSS
$custom: #bfa642;
$custom-light: #d6c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa642",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 48,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72825,
    "c": 0.12174,
    "h": 95.1
  },
  "luminance": 0.38742
}

Semantic roles & 50–950 ramp

primary
#BFA642
secondary
#939ECA
accent
#6AD94F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFA642

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

Preview Lab → · Contrast checker → · Palette generator →

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