#BFCF42#BFCF42

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

Color values

HEX#BFCF42
RGBrgb(191, 207, 66)
HSLhsl(67, 59%, 54%)
HSVhsv(67, 68%, 81%)
CMYKcmyk(7.7%, 0%, 68.1%, 18.8%)
CIE-LABlab(79.67, -23.29, 64.92)
CIE-LCHlch(79.67, 68.97, 109.74°)
OKLaboklab(81.67% -0.0699 0.1455)
OKLCHoklch(81.67% 0.161 115.7)
XYZxyz(44.7832, 56.0960, 13.6217)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFCF42 #5242CF
analogous
#CF9942 #BFCF42 #78CF42
triadic
#BFCF42 #42BFCF #CF42BF
tetradic
#BFCF42 #42CF99 #5242CF #CF4278
square
#BFCF42 #42CF99 #5242CF #CF4278
split-complementary
#BFCF42 #4278CF #9942CF
monochromatic
#6E781F #9BA92B #BFCF42 #D0DB73 #E0E8A4

Accessibility & contrast

On white

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

On black

12.22
#BFCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFCF42
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFCF42#FFFFFF#000000##000000
##BFCF421.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfcf42;
/* rgb */ color: rgb(191, 207, 66);
/* oklch */ color: oklch(81.7% 0.161 115.7);
Tailwind
colors: {
  custom: {
    50: '#d6dd7e',
    500: '#bfcf42',
    950: '#000000',
  },
}
SCSS
$custom: #bfcf42;
$custom-light: #d6dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfcf42",
  "rgb": {
    "r": 191,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 66.809,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81673,
    "c": 0.16145,
    "h": 115.7
  },
  "luminance": 0.56095
}

Semantic roles & 50–950 ramp

primary
#BFCF42
secondary
#3D3580
accent
#45E357
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #BFCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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