#BFC840#BFC840

#BFC840 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.155 H 113.1°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#BFC840
RGBrgb(191, 200, 64)
HSLhsl(64, 55%, 52%)
HSVhsv(64, 68%, 78%)
CMYKcmyk(4.5%, 0%, 68%, 21.6%)
CIE-LABlab(77.73, -19.98, 63.72)
CIE-LCHlch(77.73, 66.78, 107.41°)
OKLaboklab(80.12% -0.0609 0.1427)
OKLCHoklch(80.12% 0.155 113.1)
XYZxyz(43.0668, 52.7560, 12.7637)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC840 #4940C8
analogous
#C88D40 #BFC840 #7BC840
triadic
#BFC840 #40BFC8 #C840BF
tetradic
#BFC840 #40C88D #4940C8 #C8407B
square
#BFC840 #40C88D #4940C8 #C8407B
split-complementary
#BFC840 #407BC8 #8D40C8
monochromatic
#696E20 #969D2D #BFC840 #CFD670 #DFE39F

Accessibility & contrast

On white

1.82
#BFC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#BFC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC840
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC840#FFFFFF#000000##000000
##BFC8401.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#CCBCAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bfc840;
/* rgb */ color: rgb(191, 200, 64);
/* oklch */ color: oklch(80.1% 0.155 113.1);
Tailwind
colors: {
  custom: {
    50: '#d6d87d',
    500: '#bfc840',
    950: '#000000',
  },
}
SCSS
$custom: #bfc840;
$custom-light: #d6d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc840",
  "rgb": {
    "r": 191,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 63.971,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80116,
    "c": 0.15513,
    "h": 113.1
  },
  "luminance": 0.52755
}

Semantic roles & 50–950 ramp

primary
#BFC840
secondary
#393577
accent
#49DF53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC840

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

Preview Lab → · Contrast checker → · Palette generator →

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