#BFA040#BFA040

#BFA040 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.6% C 0.119 H 91.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BFA040
RGBrgb(191, 160, 64)
HSLhsl(45, 50%, 50%)
HSVhsv(45, 66%, 75%)
CMYKcmyk(0%, 16.2%, 66.5%, 25.1%)
CIE-LABlab(66.97, 0.71, 52.61)
CIE-LCHlch(66.97, 52.61, 89.23°)
OKLaboklab(71.56% -0.0022 0.1192)
OKLCHoklch(71.56% 0.119 91.1)
XYZxyz(34.9839, 36.5901, 10.0694)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA040 #405FBF
analogous
#BF6040 #BFA040 #9FBF40
triadic
#BFA040 #40BFA0 #A040BF
tetradic
#BFA040 #40BF60 #405FBF #BF409F
square
#BFA040 #40BF60 #405FBF #BF409F
split-complementary
#BFA040 #409FBF #6040BF
monochromatic
#635321 #917A31 #BFA040 #CEB76E #DECE9C

Accessibility & contrast

On white

2.52
#BFA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#BFA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA040
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA040#FFFFFF#000000##000000
##BFA0401.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E35
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#CE938C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa040;
/* rgb */ color: rgb(191, 160, 64);
/* oklch */ color: oklch(71.6% 0.119 91.1);
Tailwind
colors: {
  custom: {
    50: '#d6bb79',
    500: '#bfa040',
    950: '#000000',
  },
}
SCSS
$custom: #bfa040;
$custom-light: #d6bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa040",
  "rgb": {
    "r": 191,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 45.354,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71558,
    "c": 0.11923,
    "h": 91.1
  },
  "luminance": 0.36588
}

Semantic roles & 50–950 ramp

primary
#BFA040
secondary
#919FCA
accent
#70D94E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BFA040

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

Preview Lab → · Contrast checker → · Palette generator →

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