#BFBF38#BFBF38

#BFBF38 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.1% C 0.151 H 109.4°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#BFBF38
RGBrgb(191, 191, 56)
HSLhsl(60, 55%, 48%)
HSVhsv(60, 71%, 75%)
CMYKcmyk(0%, 0%, 70.7%, 25.1%)
CIE-LABlab(75.22, -15.90, 64.19)
CIE-LCHlch(75.22, 66.13, 103.91°)
OKLaboklab(78.09% -0.0502 0.1423)
OKLCHoklch(78.09% 0.151 109.4)
XYZxyz(40.8319, 48.6247, 10.9752)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBF38 #3838BF
analogous
#BF7B38 #BFBF38 #7BBF38
triadic
#BFBF38 #38BFBF #BF38BF
tetradic
#BFBF38 #38BF7B #3838BF #BF387B
square
#BFBF38 #38BF7B #3838BF #BF387B
split-complementary
#BFBF38 #387BBF #7B38BF
monochromatic
#60601C #90902A #BFBF38 #D1D163 #DFDF92

Accessibility & contrast

On white

1.96
#BFBF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#BFBF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBF38
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBF38#FFFFFF#000000##000000
##BFBF381.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#CCB3A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bfbf38;
/* rgb */ color: rgb(191, 191, 56);
/* oklch */ color: oklch(78.1% 0.151 109.4);
Tailwind
colors: {
  custom: {
    50: '#d6d278',
    500: '#bfbf38',
    950: '#000000',
  },
}
SCSS
$custom: #bfbf38;
$custom-light: #d6d278;
$custom-dark: #000000;
JSON
{
  "hex": "#bfbf38",
  "rgb": {
    "r": 191,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78089,
    "c": 0.15094,
    "h": 109.4
  },
  "luminance": 0.48623
}

Semantic roles & 50–950 ramp

primary
#BFBF38
secondary
#8989CA
accent
#4ADE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BFBF38

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

Preview Lab → · Contrast checker → · Palette generator →

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