#BFB840#BFB840

#BFB840 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.6% C 0.139 H 106.0°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#BFB840
RGBrgb(191, 184, 64)
HSLhsl(57, 50%, 50%)
HSVhsv(57, 66%, 75%)
CMYKcmyk(0%, 3.7%, 66.5%, 25.1%)
CIE-LABlab(73.37, -11.92, 59.29)
CIE-LCHlch(73.37, 60.48, 101.37°)
OKLaboklab(76.63% -0.0382 0.1334)
OKLCHoklch(76.63% 0.139 106)
XYZxyz(39.5532, 45.7289, 11.5926)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB840 #4047BF
analogous
#BF7940 #BFB840 #86BF40
triadic
#BFB840 #40BFB8 #B840BF
tetradic
#BFB840 #40BF79 #4047BF #BF4086
square
#BFB840 #40BF79 #4047BF #BF4086
split-complementary
#BFB840 #4086BF #7940BF
monochromatic
#636021 #918C31 #BFB840 #CEC96E #DEDA9C

Accessibility & contrast

On white

2.07
#BFB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#BFB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB840
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB840#FFFFFF#000000##000000
##BFB8401.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#CAB748
Tritanopia (blue-blind)
#CDACA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bfb840;
/* rgb */ color: rgb(191, 184, 64);
/* oklch */ color: oklch(76.6% 0.139 106.0);
Tailwind
colors: {
  custom: {
    50: '#d5cd7b',
    500: '#bfb840',
    950: '#000000',
  },
}
SCSS
$custom: #bfb840;
$custom-light: #d5cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb840",
  "rgb": {
    "r": 191,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 56.693,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.76633,
    "c": 0.13872,
    "h": 106
  },
  "luminance": 0.45728
}

Semantic roles & 50–950 ramp

primary
#BFB840
secondary
#9194CA
accent
#56D94E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB840

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

Preview Lab → · Contrast checker → · Palette generator →

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