#BFC040#BFC040

#BFC040 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.4% C 0.147 H 109.8°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#BFC040
RGBrgb(191, 192, 64)
HSLhsl(60, 50%, 50%)
HSVhsv(60, 67%, 75%)
CMYKcmyk(0.5%, 0%, 66.7%, 24.7%)
CIE-LABlab(75.54, -15.99, 61.51)
CIE-LCHlch(75.54, 63.56, 104.57°)
OKLaboklab(78.37% -0.0497 0.138)
OKLCHoklch(78.37% 0.147 109.8)
XYZxyz(41.2623, 49.1470, 12.1622)
Luminance0.4915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC040 #4140C0
analogous
#C08140 #BFC040 #7FC040
triadic
#BFC040 #40BFC0 #C040BF
tetradic
#BFC040 #40C081 #4140C0 #C0407F
square
#BFC040 #40C081 #4140C0 #C0407F
split-complementary
#BFC040 #407FC0 #8140C0
monochromatic
#646421 #929230 #BFC040 #CECF6E #DEDE9C

Accessibility & contrast

On white

1.94
#BFC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#BFC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC040
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC040#FFFFFF#000000##000000
##BFC0401.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D0BC49
Tritanopia (blue-blind)
#CCB4A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bfc040;
/* rgb */ color: rgb(191, 192, 64);
/* oklch */ color: oklch(78.4% 0.147 109.8);
Tailwind
colors: {
  custom: {
    50: '#d5d27c',
    500: '#bfc040',
    950: '#000000',
  },
}
SCSS
$custom: #bfc040;
$custom-light: #d5d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc040",
  "rgb": {
    "r": 191,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 60.469,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78366,
    "c": 0.14669,
    "h": 109.8
  },
  "luminance": 0.49146
}

Semantic roles & 50–950 ramp

primary
#BFC040
secondary
#9291CB
accent
#4EDA4F
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BFC040

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

Preview Lab → · Contrast checker → · Palette generator →

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