#BFAA42#BFAA42

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

Color values

HEX#BFAA42
RGBrgb(191, 170, 66)
HSLhsl(50, 49%, 50%)
HSVhsv(50, 65%, 75%)
CMYKcmyk(0%, 11%, 65.4%, 25.1%)
CIE-LABlab(69.63, -4.51, 54.55)
CIE-LCHlch(69.63, 54.74, 94.72°)
OKLaboklab(73.67% -0.0169 0.1237)
OKLCHoklch(73.67% 0.125 97.8)
XYZxyz(36.8456, 40.2209, 10.9758)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAA42 #4257BF
analogous
#BF6B42 #BFAA42 #95BF42
triadic
#BFAA42 #42BFAA #AA42BF
tetradic
#BFAA42 #42BF6B #4257BF #BF4295
square
#BFAA42 #42BF6B #4257BF #BF4295
split-complementary
#BFAA42 #4295BF #6B42BF
monochromatic
#655922 #928232 #BFAA42 #CEBF70 #DED39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAA42#FFFFFF#000000##000000
##BFAA421.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)
#BAA635
Deuteranopia (green-blind)
#C0AD47
Tritanopia (blue-blind)
#CD9E94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bfaa42;
/* rgb */ color: rgb(191, 170, 66);
/* oklch */ color: oklch(73.7% 0.125 97.8);
Tailwind
colors: {
  custom: {
    50: '#d5c37b',
    500: '#bfaa42',
    950: '#000000',
  },
}
SCSS
$custom: #bfaa42;
$custom-light: #d5c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaa42",
  "rgb": {
    "r": 191,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 49.92,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73665,
    "c": 0.1248,
    "h": 97.8
  },
  "luminance": 0.40219
}

Semantic roles & 50–950 ramp

primary
#BFAA42
secondary
#939CCA
accent
#66D94F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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