#BFC240#BFC240

#BFC240 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.8% C 0.149 H 110.7°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#BFC240
RGBrgb(191, 194, 64)
HSLhsl(61, 52%, 51%)
HSVhsv(61, 67%, 76%)
CMYKcmyk(1.5%, 0%, 67%, 23.9%)
CIE-LABlab(76.09, -16.99, 62.07)
CIE-LCHlch(76.09, 64.35, 105.31°)
OKLaboklab(78.8% -0.0525 0.1392)
OKLCHoklch(78.8% 0.149 110.7)
XYZxyz(41.7044, 50.0312, 12.3096)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC240 #4340C2
analogous
#C28440 #BFC240 #7EC240
triadic
#BFC240 #40BFC2 #C240BF
tetradic
#BFC240 #40C284 #4340C2 #C2407E
square
#BFC240 #40C284 #4340C2 #C2407E
split-complementary
#BFC240 #407EC2 #8440C2
monochromatic
#656721 #939530 #BFC240 #CFD16E #DEE09D

Accessibility & contrast

On white

1.91
#BFC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#BFC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC240
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC240#FFFFFF#000000##000000
##BFC2401.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2D
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#CCB6A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bfc240;
/* rgb */ color: rgb(191, 194, 64);
/* oklch */ color: oklch(78.8% 0.149 110.7);
Tailwind
colors: {
  custom: {
    50: '#d6d47c',
    500: '#bfc240',
    950: '#000000',
  },
}
SCSS
$custom: #bfc240;
$custom-light: #d6d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc240",
  "rgb": {
    "r": 191,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 61.385,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78802,
    "c": 0.14877,
    "h": 110.7
  },
  "luminance": 0.5003
}

Semantic roles & 50–950 ramp

primary
#BFC240
secondary
#363571
accent
#4DDB50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC240

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

Preview Lab → · Contrast checker → · Palette generator →

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