#BFCA31#BFCA31

#BFCA31 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.5% C 0.166 H 113.8°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#BFCA31
RGBrgb(191, 202, 49)
HSLhsl(64, 61%, 49%)
HSVhsv(64, 76%, 79%)
CMYKcmyk(5.4%, 0%, 75.7%, 20.8%)
CIE-LABlab(78.19, -21.68, 69.35)
CIE-LCHlch(78.19, 72.66, 107.36°)
OKLaboklab(80.46% -0.067 0.152)
OKLCHoklch(80.46% 0.166 113.8)
XYZxyz(43.1621, 53.5401, 10.9657)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFCA31 #3C31CA
analogous
#CA8931 #BFCA31 #73CA31
triadic
#BFCA31 #31BFCA #CA31BF
tetradic
#BFCA31 #31CA89 #3C31CA #CA3173
square
#BFCA31 #31CA89 #3C31CA #CA3173
split-complementary
#BFCA31 #3173CA #8931CA
monochromatic
#626719 #909925 #BFCA31 #D0D860 #DEE491

Accessibility & contrast

On white

1.79
#BFCA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#BFCA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFCA31
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFCA31#FFFFFF#000000##000000
##BFCA311.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C006
Deuteranopia (green-blind)
#D9C33F
Tritanopia (blue-blind)
#CCBEAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bfca31;
/* rgb */ color: rgb(191, 202, 49);
/* oklch */ color: oklch(80.5% 0.166 113.8);
Tailwind
colors: {
  custom: {
    50: '#d6d975',
    500: '#bfca31',
    950: '#000000',
  },
}
SCSS
$custom: #bfca31;
$custom-light: #d6d975;
$custom-dark: #000000;
JSON
{
  "hex": "#bfca31",
  "rgb": {
    "r": 191,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 64.314,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80458,
    "c": 0.16611,
    "h": 113.8
  },
  "luminance": 0.53539
}

Semantic roles & 50–950 ramp

primary
#BFCA31
secondary
#332E72
accent
#44E44F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BFCA31

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

Preview Lab → · Contrast checker → · Palette generator →

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