#BFC831#BFC831

#BFC831 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.0% C 0.164 H 113.1°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#BFC831
RGBrgb(191, 200, 49)
HSLhsl(64, 61%, 49%)
HSVhsv(64, 76%, 78%)
CMYKcmyk(4.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(77.64, -20.70, 68.84)
CIE-LCHlch(77.64, 71.89, 106.74°)
OKLaboklab(80.02% -0.0642 0.151)
OKLCHoklch(80.02% 0.164 113.1)
XYZxyz(42.6959, 52.6076, 10.8103)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC831 #3A31C8
analogous
#C88631 #BFC831 #74C831
triadic
#BFC831 #31BFC8 #C831BF
tetradic
#BFC831 #31C886 #3A31C8 #C83174
square
#BFC831 #31C886 #3A31C8 #C83174
split-complementary
#BFC831 #3174C8 #8631C8
monochromatic
#616619 #909725 #BFC831 #D0D85F #DFE490

Accessibility & contrast

On white

1.82
#BFC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#BFC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC831
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC831#FFFFFF#000000##000000
##BFC8311.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE08
Deuteranopia (green-blind)
#D7C13E
Tritanopia (blue-blind)
#CCBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bfc831;
/* rgb */ color: rgb(191, 200, 49);
/* oklch */ color: oklch(80.0% 0.164 113.1);
Tailwind
colors: {
  custom: {
    50: '#d6d875',
    500: '#bfc831',
    950: '#000000',
  },
}
SCSS
$custom: #bfc831;
$custom-light: #d6d875;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc831",
  "rgb": {
    "r": 191,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 63.576,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80017,
    "c": 0.16405,
    "h": 113.1
  },
  "luminance": 0.52607
}

Semantic roles & 50–950 ramp

primary
#BFC831
secondary
#312D70
accent
#44E44E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BFC831

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

Preview Lab → · Contrast checker → · Palette generator →

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