#BFC940#BFC940

#BFC940 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.3% C 0.156 H 113.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#BFC940
RGBrgb(191, 201, 64)
HSLhsl(64, 56%, 52%)
HSVhsv(64, 68%, 79%)
CMYKcmyk(5%, 0%, 68.2%, 21.2%)
CIE-LABlab(78.01, -20.47, 64.00)
CIE-LCHlch(78.01, 67.19, 107.74°)
OKLaboklab(80.34% -0.0622 0.1433)
OKLCHoklch(80.34% 0.156 113.5)
XYZxyz(43.2991, 53.2207, 12.8412)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC940 #4A40C9
analogous
#C98F40 #BFC940 #7AC940
triadic
#BFC940 #40BFC9 #C940BF
tetradic
#BFC940 #40C98F #4A40C9 #C9407A
square
#BFC940 #40C98F #4A40C9 #C9407A
split-complementary
#BFC940 #407AC9 #8F40C9
monochromatic
#696F1F #979F2D #BFC940 #CFD670 #DFE49F

Accessibility & contrast

On white

1.80
#BFC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#BFC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC940
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC940#FFFFFF#000000##000000
##BFC9401.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF2B
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#CBBDAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bfc940;
/* rgb */ color: rgb(191, 201, 64);
/* oklch */ color: oklch(80.3% 0.156 113.5);
Tailwind
colors: {
  custom: {
    50: '#d6d97d',
    500: '#bfc940',
    950: '#000000',
  },
}
SCSS
$custom: #bfc940;
$custom-light: #d6d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc940",
  "rgb": {
    "r": 191,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 64.38,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80335,
    "c": 0.1562,
    "h": 113.5
  },
  "luminance": 0.5322
}

Semantic roles & 50–950 ramp

primary
#BFC940
secondary
#3A3578
accent
#49DF54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC940

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

Preview Lab → · Contrast checker → · Palette generator →

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