#BFC540#BFC540

#BFC540 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.5% C 0.152 H 111.9°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#BFC540
RGBrgb(191, 197, 64)
HSLhsl(63, 53%, 51%)
HSVhsv(63, 68%, 77%)
CMYKcmyk(3%, 0%, 67.5%, 22.7%)
CIE-LABlab(76.91, -18.49, 62.90)
CIE-LCHlch(76.91, 65.56, 106.38°)
OKLaboklab(79.46% -0.0567 0.1409)
OKLCHoklch(79.46% 0.152 111.9)
XYZxyz(42.3788, 51.3800, 12.5344)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC540 #4640C5
analogous
#C58840 #BFC540 #7CC540
triadic
#BFC540 #40BFC5 #C540BF
tetradic
#BFC540 #40C588 #4640C5 #C5407C
square
#BFC540 #40C588 #4640C5 #C5407C
split-complementary
#BFC540 #407CC5 #8840C5
monochromatic
#676A20 #94992F #BFC540 #CFD36F #DEE29E

Accessibility & contrast

On white

1.86
#BFC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#BFC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC540
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC540#FFFFFF#000000##000000
##BFC5401.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2C
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#CCB9AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bfc540;
/* rgb */ color: rgb(191, 197, 64);
/* oklch */ color: oklch(79.5% 0.152 111.9);
Tailwind
colors: {
  custom: {
    50: '#d6d67c',
    500: '#bfc540',
    950: '#000000',
  },
}
SCSS
$custom: #bfc540;
$custom-light: #d6d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc540",
  "rgb": {
    "r": 191,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 62.707,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79458,
    "c": 0.15191,
    "h": 111.9
  },
  "luminance": 0.51379
}

Semantic roles & 50–950 ramp

primary
#BFC540
secondary
#383574
accent
#4BDD52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFC540

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

Preview Lab → · Contrast checker → · Palette generator →

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