#BFB740#BFB740

#BFB740 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.4% C 0.138 H 105.5°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#BFB740
RGBrgb(191, 183, 64)
HSLhsl(56, 50%, 50%)
HSVhsv(56, 66%, 75%)
CMYKcmyk(0%, 4.2%, 66.5%, 25.1%)
CIE-LABlab(73.10, -11.40, 59.02)
CIE-LCHlch(73.10, 60.11, 100.94°)
OKLaboklab(76.42% -0.0368 0.1328)
OKLCHoklch(76.42% 0.138 105.5)
XYZxyz(39.3462, 45.3149, 11.5236)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB740 #4048BF
analogous
#BF7740 #BFB740 #88BF40
triadic
#BFB740 #40BFB7 #B740BF
tetradic
#BFB740 #40BF77 #4048BF #BF4088
square
#BFB740 #40BF77 #4048BF #BF4088
split-complementary
#BFB740 #4088BF #7740BF
monochromatic
#635F21 #918B31 #BFB740 #CEC86E #DEDA9C

Accessibility & contrast

On white

2.09
#BFB740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#BFB740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB740
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB740#FFFFFF#000000##000000
##BFB7401.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B130
Deuteranopia (green-blind)
#C9B647
Tritanopia (blue-blind)
#CDAB9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bfb740;
/* rgb */ color: rgb(191, 183, 64);
/* oklch */ color: oklch(76.4% 0.138 105.5);
Tailwind
colors: {
  custom: {
    50: '#d5cc7b',
    500: '#bfb740',
    950: '#000000',
  },
}
SCSS
$custom: #bfb740;
$custom-light: #d5cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb740",
  "rgb": {
    "r": 191,
    "g": 183,
    "b": 64
  },
  "hsl": {
    "h": 56.22,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.76417,
    "c": 0.13776,
    "h": 105.5
  },
  "luminance": 0.45314
}

Semantic roles & 50–950 ramp

primary
#BFB740
secondary
#9195CA
accent
#57D94E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB740

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

Preview Lab → · Contrast checker → · Palette generator →

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