#BFCF40#BFCF40

#BFCF40 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.7% C 0.163 H 115.6°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#BFCF40
RGBrgb(191, 207, 64)
HSLhsl(67, 60%, 53%)
HSVhsv(67, 69%, 81%)
CMYKcmyk(7.7%, 0%, 69.1%, 18.8%)
CIE-LABlab(79.66, -23.40, 65.65)
CIE-LCHlch(79.66, 69.69, 109.62°)
OKLaboklab(81.66% -0.0704 0.1467)
OKLCHoklch(81.66% 0.163 115.6)
XYZxyz(44.7252, 56.0729, 13.3166)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFCF40 #5040CF
analogous
#CF9740 #BFCF40 #77CF40
triadic
#BFCF40 #40BFCF #CF40BF
tetradic
#BFCF40 #40CF97 #5040CF #CF4077
square
#BFCF40 #40CF97 #5040CF #CF4077
split-complementary
#BFCF40 #4077CF #9740CF
monochromatic
#6D771E #9AA82A #BFCF40 #CFDB71 #E0E8A2

Accessibility & contrast

On white

1.72
#BFCF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#BFCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFCF40
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFCF40#FFFFFF#000000##000000
##BFCF401.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC529
Deuteranopia (green-blind)
#DCC74B
Tritanopia (blue-blind)
#CBC3B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bfcf40;
/* rgb */ color: rgb(191, 207, 64);
/* oklch */ color: oklch(81.7% 0.163 115.6);
Tailwind
colors: {
  custom: {
    50: '#d6dd7d',
    500: '#bfcf40',
    950: '#000000',
  },
}
SCSS
$custom: #bfcf40;
$custom-light: #d6dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfcf40",
  "rgb": {
    "r": 191,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 66.713,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81658,
    "c": 0.16276,
    "h": 115.6
  },
  "luminance": 0.56072
}

Semantic roles & 50–950 ramp

primary
#BFCF40
secondary
#3C347F
accent
#45E357
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BFCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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