#BFAA40#BFAA40

#BFAA40 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.126 H 98.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#BFAA40
RGBrgb(191, 170, 64)
HSLhsl(50, 50%, 50%)
HSVhsv(50, 66%, 75%)
CMYKcmyk(0%, 11%, 66.5%, 25.1%)
CIE-LABlab(69.61, -4.63, 55.39)
CIE-LCHlch(69.61, 55.59, 94.77°)
OKLaboklab(73.65% -0.0175 0.1251)
OKLCHoklch(73.65% 0.126 98)
XYZxyz(36.7877, 40.1977, 10.6707)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAA40 #4055BF
analogous
#BF6B40 #BFAA40 #94BF40
triadic
#BFAA40 #40BFAA #AA40BF
tetradic
#BFAA40 #40BF6B #4055BF #BF4094
square
#BFAA40 #40BF6B #4055BF #BF4094
split-complementary
#BFAA40 #4094BF #6B40BF
monochromatic
#635821 #918131 #BFAA40 #CEBE6E #DED39C

Accessibility & contrast

On white

2.32
#BFAA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#BFAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAA40
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAA40#FFFFFF#000000##000000
##BFAA401.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#CE9E94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bfaa40;
/* rgb */ color: rgb(191, 170, 64);
/* oklch */ color: oklch(73.6% 0.126 98.0);
Tailwind
colors: {
  custom: {
    50: '#d6c37a',
    500: '#bfaa40',
    950: '#000000',
  },
}
SCSS
$custom: #bfaa40;
$custom-light: #d6c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaa40",
  "rgb": {
    "r": 191,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 50.079,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.73647,
    "c": 0.12633,
    "h": 98
  },
  "luminance": 0.40196
}

Semantic roles & 50–950 ramp

primary
#BFAA40
secondary
#919ACA
accent
#65D94E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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