#BFA845#BFA845

#BFA845 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.3% C 0.121 H 96.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BFA845
RGBrgb(191, 168, 69)
HSLhsl(49, 49%, 51%)
HSVhsv(49, 64%, 75%)
CMYKcmyk(0%, 12%, 63.9%, 25.1%)
CIE-LABlab(69.12, -3.26, 52.69)
CIE-LCHlch(69.12, 52.79, 93.54°)
OKLaboklab(73.27% -0.013 0.1202)
OKLCHoklch(73.27% 0.121 96.2)
XYZxyz(36.5643, 39.5131, 11.3299)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA845 #455CBF
analogous
#BF6B45 #BFA845 #99BF45
triadic
#BFA845 #45BFA8 #A845BF
tetradic
#BFA845 #45BF6B #455CBF #BF4599
square
#BFA845 #45BF6B #455CBF #BF4599
split-complementary
#BFA845 #4599BF #6B45BF
monochromatic
#665A23 #948233 #BFA845 #CFBD73 #DED3A0

Accessibility & contrast

On white

2.36
#BFA845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#BFA845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA845
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA845#FFFFFF#000000##000000
##BFA8451.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43A
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#CD9C93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bfa845;
/* rgb */ color: rgb(191, 168, 69);
/* oklch */ color: oklch(73.3% 0.121 96.2);
Tailwind
colors: {
  custom: {
    50: '#d5c17d',
    500: '#bfa845',
    950: '#000000',
  },
}
SCSS
$custom: #bfa845;
$custom-light: #d5c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa845",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 48.689,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73273,
    "c": 0.12086,
    "h": 96.2
  },
  "luminance": 0.39511
}

Semantic roles & 50–950 ramp

primary
#BFA845
secondary
#959FCB
accent
#69D84F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFA845

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

Preview Lab → · Contrast checker → · Palette generator →

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