#BFB040#BFB040

#BFB040 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.131 H 101.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#BFB040
RGBrgb(191, 176, 64)
HSLhsl(53, 50%, 50%)
HSVhsv(53, 66%, 75%)
CMYKcmyk(0%, 7.9%, 66.5%, 25.1%)
CIE-LABlab(71.21, -7.78, 57.07)
CIE-LCHlch(71.21, 57.59, 97.76°)
OKLaboklab(74.92% -0.0265 0.1286)
OKLCHoklch(74.92% 0.131 101.6)
XYZxyz(37.9382, 42.4988, 11.0542)
Luminance0.4250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB040 #404FBF
analogous
#BF7040 #BFB040 #8FBF40
triadic
#BFB040 #40BFB0 #B040BF
tetradic
#BFB040 #40BF70 #404FBF #BF408F
square
#BFB040 #40BF70 #404FBF #BF408F
split-complementary
#BFB040 #408FBF #7040BF
monochromatic
#635C21 #918631 #BFB040 #CEC36E #DED69C

Accessibility & contrast

On white

2.21
#BFB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#BFB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB040
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB040#FFFFFF#000000##000000
##BFB0401.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#CDA499
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfb040;
/* rgb */ color: rgb(191, 176, 64);
/* oklch */ color: oklch(74.9% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#d6c77b',
    500: '#bfb040',
    950: '#000000',
  },
}
SCSS
$custom: #bfb040;
$custom-light: #d6c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb040",
  "rgb": {
    "r": 191,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 52.913,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.74918,
    "c": 0.13134,
    "h": 101.6
  },
  "luminance": 0.42497
}

Semantic roles & 50–950 ramp

primary
#BFB040
secondary
#9198CA
accent
#5FD94E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB040

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

Preview Lab → · Contrast checker → · Palette generator →

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