#BFC918#BFC918

#BFC918 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.175 H 113.4°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#BFC918
RGBrgb(191, 201, 24)
HSLhsl(63, 79%, 44%)
HSVhsv(63, 88%, 79%)
CMYKcmyk(5%, 0%, 88.1%, 21.2%)
CIE-LABlab(77.83, -21.96, 75.18)
CIE-LCHlch(77.83, 78.32, 106.28°)
OKLaboklab(80.13% -0.0693 0.1605)
OKLCHoklch(80.13% 0.175 113.4)
XYZxyz(42.5389, 52.9166, 8.8370)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC918 #2218C9
analogous
#C97B18 #BFC918 #67C918
triadic
#BFC918 #18BFC9 #C918BF
tetradic
#BFC918 #18C97B #2218C9 #C91867
square
#BFC918 #18C97B #2218C9 #C91867
split-complementary
#BFC918 #1867C9 #7B18C9
monochromatic
#575C0B #8B9211 #BFC918 #DDE737 #E6EE6E

Accessibility & contrast

On white

1.81
#BFC918 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#BFC918 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC918
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC918#FFFFFF#000000##000000
##BFC9181.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D9C22E
Tritanopia (blue-blind)
#CDBCAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bfc918;
/* rgb */ color: rgb(191, 201, 24);
/* oklch */ color: oklch(80.1% 0.175 113.4);
Tailwind
colors: {
  custom: {
    50: '#d7d96c',
    500: '#bfc918',
    950: '#000000',
  },
}
SCSS
$custom: #bfc918;
$custom-light: #d7d96c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc918",
  "rgb": {
    "r": 191,
    "g": 201,
    "b": 24
  },
  "hsl": {
    "h": 63.39,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.80134,
    "c": 0.17482,
    "h": 113.4
  },
  "luminance": 0.52916
}

Semantic roles & 50–950 ramp

primary
#BFC918
secondary
#221E67
accent
#33F53E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BFC918

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

Preview Lab → · Contrast checker → · Palette generator →

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