#BFA042#BFA042

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

Color values

HEX#BFA042
RGBrgb(191, 160, 66)
HSLhsl(45, 49%, 50%)
HSVhsv(45, 65%, 75%)
CMYKcmyk(0%, 16.2%, 65.4%, 25.1%)
CIE-LABlab(66.99, 0.83, 51.73)
CIE-LCHlch(66.99, 51.74, 89.08°)
OKLaboklab(71.58% -0.0016 0.1177)
OKLCHoklch(71.58% 0.118 90.8)
XYZxyz(35.0418, 36.6133, 10.3746)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA042 #4261BF
analogous
#BF6142 #BFA042 #9FBF42
triadic
#BFA042 #42BFA0 #A042BF
tetradic
#BFA042 #42BF61 #4261BF #BF429F
square
#BFA042 #42BF61 #4261BF #BF429F
split-complementary
#BFA042 #429FBF #6142BF
monochromatic
#655422 #927A32 #BFA042 #CEB770 #DECE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA042#FFFFFF#000000##000000
##BFA0421.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)
#B19E37
Deuteranopia (green-blind)
#B8A746
Tritanopia (blue-blind)
#CE948C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa042;
/* rgb */ color: rgb(191, 160, 66);
/* oklch */ color: oklch(71.6% 0.118 90.8);
Tailwind
colors: {
  custom: {
    50: '#d6bb7b',
    500: '#bfa042',
    950: '#000000',
  },
}
SCSS
$custom: #bfa042;
$custom-light: #d6bb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa042",
  "rgb": {
    "r": 191,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 45.12,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71577,
    "c": 0.11768,
    "h": 90.8
  },
  "luminance": 0.36611
}

Semantic roles & 50–950 ramp

primary
#BFA042
secondary
#93A0CA
accent
#71D94F
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BFA042

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

Preview Lab → · Contrast checker → · Palette generator →

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