#BFA242#BFA242

#BFA242 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 72.0% C 0.119 H 92.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#BFA242
RGBrgb(191, 162, 66)
HSLhsl(46, 49%, 50%)
HSVhsv(46, 65%, 75%)
CMYKcmyk(0%, 15.2%, 65.4%, 25.1%)
CIE-LABlab(67.51, -0.25, 52.30)
CIE-LCHlch(67.51, 52.30, 90.27°)
OKLaboklab(71.99% -0.0047 0.1189)
OKLCHoklch(71.99% 0.119 92.3)
XYZxyz(35.3913, 37.3123, 10.4911)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA242 #425FBF
analogous
#BF6342 #BFA242 #9DBF42
triadic
#BFA242 #42BFA2 #A242BF
tetradic
#BFA242 #42BF63 #425FBF #BF429D
square
#BFA242 #42BF63 #425FBF #BF429D
split-complementary
#BFA242 #429DBF #6342BF
monochromatic
#655522 #927C32 #BFA242 #CEB870 #DECF9D

Accessibility & contrast

On white

2.48
#BFA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#BFA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA242
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA242#FFFFFF#000000##000000
##BFA2421.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#BAA847
Tritanopia (blue-blind)
#CE968E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa242;
/* rgb */ color: rgb(191, 162, 66);
/* oklch */ color: oklch(72.0% 0.119 92.3);
Tailwind
colors: {
  custom: {
    50: '#d6bd7b',
    500: '#bfa242',
    950: '#000000',
  },
}
SCSS
$custom: #bfa242;
$custom-light: #d6bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa242",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 46.08,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71992,
    "c": 0.11895,
    "h": 92.3
  },
  "luminance": 0.3731
}

Semantic roles & 50–950 ramp

primary
#BFA242
secondary
#939FCA
accent
#6FD94F
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFA242

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

Preview Lab → · Contrast checker → · Palette generator →

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