#BFA240#BFA240

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

Color values

HEX#BFA240
RGBrgb(191, 162, 64)
HSLhsl(46, 50%, 50%)
HSVhsv(46, 66%, 75%)
CMYKcmyk(0%, 15.2%, 66.5%, 25.1%)
CIE-LABlab(67.49, -0.37, 53.16)
CIE-LCHlch(67.49, 53.16, 90.40°)
OKLaboklab(71.97% -0.0053 0.1204)
OKLCHoklch(71.97% 0.121 92.5)
XYZxyz(35.3334, 37.2891, 10.1859)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA240 #405DBF
analogous
#BF6240 #BFA240 #9DBF40
triadic
#BFA240 #40BFA2 #A240BF
tetradic
#BFA240 #40BF62 #405DBF #BF409D
square
#BFA240 #40BF62 #405DBF #BF409D
split-complementary
#BFA240 #409DBF #6240BF
monochromatic
#635421 #917B31 #BFA240 #CEB86E #DECF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA240#FFFFFF#000000##000000
##BFA2401.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)
#B39F34
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#CE968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa240;
/* rgb */ color: rgb(191, 162, 64);
/* oklch */ color: oklch(72.0% 0.121 92.5);
Tailwind
colors: {
  custom: {
    50: '#d6bd79',
    500: '#bfa240',
    950: '#000000',
  },
}
SCSS
$custom: #bfa240;
$custom-light: #d6bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa240",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 46.299,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.71972,
    "c": 0.12051,
    "h": 92.5
  },
  "luminance": 0.37287
}

Semantic roles & 50–950 ramp

primary
#BFA240
secondary
#919ECA
accent
#6ED94E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA240

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

Preview Lab → · Contrast checker → · Palette generator →

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