#BFA740#BFA740

#BFA740 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.0% C 0.124 H 96.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#BFA740
RGBrgb(191, 167, 64)
HSLhsl(49, 50%, 50%)
HSVhsv(49, 66%, 75%)
CMYKcmyk(0%, 12.6%, 66.5%, 25.1%)
CIE-LABlab(68.81, -3.04, 54.56)
CIE-LCHlch(68.81, 54.64, 93.19°)
OKLaboklab(73.02% -0.0129 0.1233)
OKLCHoklch(73.02% 0.124 96)
XYZxyz(36.2317, 39.0858, 10.4854)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA740 #4058BF
analogous
#BF6740 #BFA740 #98BF40
triadic
#BFA740 #40BFA7 #A740BF
tetradic
#BFA740 #40BF67 #4058BF #BF4098
square
#BFA740 #40BF67 #4058BF #BF4098
split-complementary
#BFA740 #4098BF #6740BF
monochromatic
#635721 #917F31 #BFA740 #CEBC6E #DED19C

Accessibility & contrast

On white

2.38
#BFA740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#BFA740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA740
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA740#FFFFFF#000000##000000
##BFA7401.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#BEAB45
Tritanopia (blue-blind)
#CE9B91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa740;
/* rgb */ color: rgb(191, 167, 64);
/* oklch */ color: oklch(73.0% 0.124 96.0);
Tailwind
colors: {
  custom: {
    50: '#d6c07a',
    500: '#bfa740',
    950: '#000000',
  },
}
SCSS
$custom: #bfa740;
$custom-light: #d6c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa740",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 48.661,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.73016,
    "c": 0.12402,
    "h": 96
  },
  "luminance": 0.39084
}

Semantic roles & 50–950 ramp

primary
#BFA740
secondary
#919CCA
accent
#69D94E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA740

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

Preview Lab → · Contrast checker → · Palette generator →

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