#BFBA40#BFBA40

#BFBA40 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.1% C 0.141 H 107.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#BFBA40
RGBrgb(191, 186, 64)
HSLhsl(58, 50%, 50%)
HSVhsv(58, 66%, 75%)
CMYKcmyk(0%, 2.6%, 66.5%, 25.1%)
CIE-LABlab(73.91, -12.94, 59.85)
CIE-LCHlch(73.91, 61.23, 102.20°)
OKLaboklab(77.06% -0.0411 0.1345)
OKLCHoklch(77.06% 0.141 107)
XYZxyz(39.9716, 46.5657, 11.7320)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBA40 #4045BF
analogous
#BF7B40 #BFBA40 #84BF40
triadic
#BFBA40 #40BFBA #BA40BF
tetradic
#BFBA40 #40BF7B #4045BF #BF4084
square
#BFBA40 #40BF7B #4045BF #BF4084
split-complementary
#BFBA40 #4084BF #7B40BF
monochromatic
#636121 #918D31 #BFBA40 #CECB6E #DEDB9C

Accessibility & contrast

On white

2.04
#BFBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#BFBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBA40
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBA40#FFFFFF#000000##000000
##BFBA401.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#CDAEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bfba40;
/* rgb */ color: rgb(191, 186, 64);
/* oklch */ color: oklch(77.1% 0.141 107.0);
Tailwind
colors: {
  custom: {
    50: '#d5ce7b',
    500: '#bfba40',
    950: '#000000',
  },
}
SCSS
$custom: #bfba40;
$custom-light: #d5ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfba40",
  "rgb": {
    "r": 191,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 57.638,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77064,
    "c": 0.14066,
    "h": 107
  },
  "luminance": 0.46564
}

Semantic roles & 50–950 ramp

primary
#BFBA40
secondary
#9193CA
accent
#54D94E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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