#BFBA2B#BFBA2B

#BFBA2B is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.9% C 0.153 H 107.4°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#BFBA2B
RGBrgb(191, 186, 43)
HSLhsl(58, 63%, 46%)
HSVhsv(58, 77%, 75%)
CMYKcmyk(0%, 2.6%, 77.5%, 25.1%)
CIE-LABlab(73.78, -13.93, 67.18)
CIE-LCHlch(73.78, 68.61, 101.72°)
OKLaboklab(76.92% -0.0459 0.1463)
OKLCHoklch(76.92% 0.153 107.4)
XYZxyz(39.4824, 46.3700, 9.1556)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBA2B #2B30BF
analogous
#BF702B #BFBA2B #7ABF2B
triadic
#BFBA2B #2BBFBA #BA2BBF
tetradic
#BFBA2B #2BBF70 #2B30BF #BF2B7A
square
#BFBA2B #2BBF70 #2B30BF #BF2B7A
split-complementary
#BFBA2B #2B7ABF #702BBF
monochromatic
#5B5915 #8D8920 #BFBA2B #D8D350 #E3DF82

Accessibility & contrast

On white

2.04
#BFBA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#BFBA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBA2B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBA2B#FFFFFF#000000##000000
##BFBA2B1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB300
Deuteranopia (green-blind)
#CDB837
Tritanopia (blue-blind)
#CDADA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bfba2b;
/* rgb */ color: rgb(191, 186, 43);
/* oklch */ color: oklch(76.9% 0.153 107.4);
Tailwind
colors: {
  custom: {
    50: '#d6ce71',
    500: '#bfba2b',
    950: '#000000',
  },
}
SCSS
$custom: #bfba2b;
$custom-light: #d6ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfba2b",
  "rgb": {
    "r": 191,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 57.973,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76923,
    "c": 0.15335,
    "h": 107.4
  },
  "luminance": 0.46369
}

Semantic roles & 50–950 ramp

primary
#BFBA2B
secondary
#7A7DCC
accent
#47E642
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFBA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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