#BFC731#BFC731

#BFC731 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.8% C 0.163 H 112.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#BFC731
RGBrgb(191, 199, 49)
HSLhsl(63, 60%, 49%)
HSVhsv(63, 75%, 78%)
CMYKcmyk(4%, 0%, 75.4%, 22%)
CIE-LABlab(77.37, -20.21, 68.59)
CIE-LCHlch(77.37, 71.51, 106.42°)
OKLaboklab(79.8% -0.0629 0.1504)
OKLCHoklch(79.8% 0.163 112.7)
XYZxyz(42.4650, 52.1460, 10.7333)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC731 #3931C7
analogous
#C78431 #BFC731 #74C731
triadic
#BFC731 #31BFC7 #C731BF
tetradic
#BFC731 #31C784 #3931C7 #C73174
square
#BFC731 #31C784 #3931C7 #C73174
split-complementary
#BFC731 #3174C7 #8431C7
monochromatic
#616519 #909625 #BFC731 #D1D75E #DFE38F

Accessibility & contrast

On white

1.84
#BFC731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#BFC731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC731
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC731#FFFFFF#000000##000000
##BFC7311.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD09
Deuteranopia (green-blind)
#D6C13E
Tritanopia (blue-blind)
#CCBBAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bfc731;
/* rgb */ color: rgb(191, 199, 49);
/* oklch */ color: oklch(79.8% 0.163 112.7);
Tailwind
colors: {
  custom: {
    50: '#d6d775',
    500: '#bfc731',
    950: '#000000',
  },
}
SCSS
$custom: #bfc731;
$custom-light: #d6d775;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc731",
  "rgb": {
    "r": 191,
    "g": 199,
    "b": 49
  },
  "hsl": {
    "h": 63.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79797,
    "c": 0.16302,
    "h": 112.7
  },
  "luminance": 0.52145
}

Semantic roles & 50–950 ramp

primary
#BFC731
secondary
#312D6F
accent
#44E44D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BFC731

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

Preview Lab → · Contrast checker → · Palette generator →

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