#BFCB40#BFCB40

#BFCB40 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.8% C 0.158 H 114.2°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#BFCB40
RGBrgb(191, 203, 64)
HSLhsl(65, 57%, 52%)
HSVhsv(65, 68%, 80%)
CMYKcmyk(5.9%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.55, -21.45, 64.55)
CIE-LCHlch(78.55, 68.02, 108.38°)
OKLaboklab(80.77% -0.065 0.1444)
OKLCHoklch(80.77% 0.158 114.2)
XYZxyz(43.7684, 54.1592, 12.9976)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFCB40 #4C40CB
analogous
#CB9240 #BFCB40 #79CB40
triadic
#BFCB40 #40BFCB #CB40BF
tetradic
#BFCB40 #40CB92 #4C40CB #CB4079
square
#BFCB40 #40CB92 #4C40CB #CB4079
split-complementary
#BFCB40 #4079CB #9240CB
monochromatic
#6B721F #98A22C #BFCB40 #CFD870 #DFE5A0

Accessibility & contrast

On white

1.77
#BFCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#BFCB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFCB40
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFCB40#FFFFFF#000000##000000
##BFCB401.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#CBBFAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bfcb40;
/* rgb */ color: rgb(191, 203, 64);
/* oklch */ color: oklch(80.8% 0.158 114.2);
Tailwind
colors: {
  custom: {
    50: '#d6da7d',
    500: '#bfcb40',
    950: '#000000',
  },
}
SCSS
$custom: #bfcb40;
$custom-light: #d6da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfcb40",
  "rgb": {
    "r": 191,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 65.18,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80775,
    "c": 0.15837,
    "h": 114.2
  },
  "luminance": 0.54158
}

Semantic roles & 50–950 ramp

primary
#BFCB40
secondary
#3B357B
accent
#47E055
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BFCB40

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

Preview Lab → · Contrast checker → · Palette generator →

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