#BFC987#BFC987

#BFC987 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.2% C 0.088 H 115.4°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#BFC987
RGBrgb(191, 201, 135)
HSLhsl(69, 38%, 66%)
HSVhsv(69, 33%, 79%)
CMYKcmyk(5%, 0%, 32.8%, 21.2%)
CIE-LABlab(78.81, -13.99, 31.90)
CIE-LCHlch(78.81, 34.84, 113.68°)
OKLaboklab(81.24% -0.0376 0.0792)
OKLCHoklch(81.24% 0.088 115.4)
XYZxyz(46.7457, 54.5993, 30.9931)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC987 #9187C9
analogous
#C9B287 #BFC987 #9EC987
triadic
#BFC987 #87BFC9 #C987BF
tetradic
#BFC987 #87C9B2 #9187C9 #C9879E
square
#BFC987 #87C9B2 #9187C9 #C9879E
split-complementary
#BFC987 #879EC9 #B287C9
monochromatic
#879342 #A8B65D #BFC987 #D6DCB1 #ECEFDB

Accessibility & contrast

On white

1.76
#BFC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#BFC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC987
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC987#FFFFFF#000000##000000
##BFC9871.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C382
Deuteranopia (green-blind)
#D1C48A
Tritanopia (blue-blind)
#C6C2B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #bfc987;
/* rgb */ color: rgb(191, 201, 135);
/* oklch */ color: oklch(81.2% 0.088 115.4);
Tailwind
colors: {
  custom: {
    50: '#d3d9aa',
    500: '#bfc987',
    950: '#000000',
  },
}
SCSS
$custom: #bfc987;
$custom-light: #d3d9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc987",
  "rgb": {
    "r": 191,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 69.091,
    "s": 37.931,
    "l": 65.882
  },
  "oklch": {
    "l": 0.81239,
    "c": 0.08768,
    "h": 115.4
  },
  "luminance": 0.54599
}

Semantic roles & 50–950 ramp

primary
#BFC987
secondary
#645A9B
accent
#35B147
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #BFC987

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

Preview Lab → · Contrast checker → · Palette generator →

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