#BFC931#BFC931

#BFC931 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.2% C 0.165 H 113.4°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#BFC931
RGBrgb(191, 201, 49)
HSLhsl(64, 61%, 49%)
HSVhsv(64, 76%, 79%)
CMYKcmyk(5%, 0%, 75.6%, 21.2%)
CIE-LABlab(77.92, -21.19, 69.10)
CIE-LCHlch(77.92, 72.27, 107.05°)
OKLaboklab(80.24% -0.0656 0.1515)
OKLCHoklch(80.24% 0.165 113.4)
XYZxyz(42.9282, 53.0723, 10.8877)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC931 #3B31C9
analogous
#C98731 #BFC931 #73C931
triadic
#BFC931 #31BFC9 #C931BF
tetradic
#BFC931 #31C987 #3B31C9 #C93173
square
#BFC931 #31C987 #3B31C9 #C93173
split-complementary
#BFC931 #3173C9 #8731C9
monochromatic
#616719 #909825 #BFC931 #D0D85F #DFE490

Accessibility & contrast

On white

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

On black

11.61
#BFC931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC931
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC931#FFFFFF#000000##000000
##BFC9311.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF07
Deuteranopia (green-blind)
#D8C23E
Tritanopia (blue-blind)
#CCBDAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bfc931;
/* rgb */ color: rgb(191, 201, 49);
/* oklch */ color: oklch(80.2% 0.165 113.4);
Tailwind
colors: {
  custom: {
    50: '#d6d975',
    500: '#bfc931',
    950: '#000000',
  },
}
SCSS
$custom: #bfc931;
$custom-light: #d6d975;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc931",
  "rgb": {
    "r": 191,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 63.947,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80237,
    "c": 0.16507,
    "h": 113.4
  },
  "luminance": 0.53071
}

Semantic roles & 50–950 ramp

primary
#BFC931
secondary
#322D71
accent
#44E44E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BFC931

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

Preview Lab → · Contrast checker → · Palette generator →

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