#BFC740#BFC740

#BFC740 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.9% C 0.154 H 112.7°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#BFC740
RGBrgb(191, 199, 64)
HSLhsl(64, 55%, 52%)
HSVhsv(64, 68%, 78%)
CMYKcmyk(4%, 0%, 67.8%, 22%)
CIE-LABlab(77.46, -19.48, 63.45)
CIE-LCHlch(77.46, 66.37, 107.07°)
OKLaboklab(79.9% -0.0595 0.1421)
OKLCHoklch(79.9% 0.154 112.7)
XYZxyz(42.8359, 52.2943, 12.6868)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC740 #4840C7
analogous
#C78C40 #BFC740 #7BC740
triadic
#BFC740 #40BFC7 #C740BF
tetradic
#BFC740 #40C78C #4840C7 #C7407B
square
#BFC740 #40C78C #4840C7 #C7407B
split-complementary
#BFC740 #407BC7 #8C40C7
monochromatic
#686D20 #969C2E #BFC740 #CFD56F #DFE39F

Accessibility & contrast

On white

1.83
#BFC740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#BFC740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC740
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC740#FFFFFF#000000##000000
##BFC7401.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#CCBBAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bfc740;
/* rgb */ color: rgb(191, 199, 64);
/* oklch */ color: oklch(79.9% 0.154 112.7);
Tailwind
colors: {
  custom: {
    50: '#d6d77d',
    500: '#bfc740',
    950: '#000000',
  },
}
SCSS
$custom: #bfc740;
$custom-light: #d6d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc740",
  "rgb": {
    "r": 191,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 63.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79896,
    "c": 0.15405,
    "h": 112.7
  },
  "luminance": 0.52293
}

Semantic roles & 50–950 ramp

primary
#BFC740
secondary
#393576
accent
#4ADE53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC740

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

Preview Lab → · Contrast checker → · Palette generator →

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