#BFA631#BFA631

#BFA631 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.133 H 96.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#BFA631
RGBrgb(191, 166, 49)
HSLhsl(49, 59%, 47%)
HSVhsv(49, 74%, 75%)
CMYKcmyk(0%, 13.1%, 74.3%, 25.1%)
CIE-LABlab(68.44, -3.28, 60.21)
CIE-LCHlch(68.44, 60.30, 93.12°)
OKLaboklab(72.69% -0.0153 0.1326)
OKLCHoklch(72.69% 0.133 96.6)
XYZxyz(35.6783, 38.5725, 8.4711)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA631 #314ABF
analogous
#BF5F31 #BFA631 #91BF31
triadic
#BFA631 #31BFA6 #A631BF
tetradic
#BFA631 #31BF5F #314ABF #BF3191
square
#BFA631 #31BF5F #314ABF #BF3191
split-complementary
#BFA631 #3191BF #5F31BF
monochromatic
#5E5118 #8E7C25 #BFA631 #D4BF59 #E1D18A

Accessibility & contrast

On white

2.41
#BFA631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#BFA631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA631
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA631#FFFFFF#000000##000000
##BFA6311.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#CE998F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa631;
/* rgb */ color: rgb(191, 166, 49);
/* oklch */ color: oklch(72.7% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#d6c071',
    500: '#bfa631',
    950: '#000000',
  },
}
SCSS
$custom: #bfa631;
$custom-light: #d6c071;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa631",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 49.437,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72686,
    "c": 0.13349,
    "h": 96.6
  },
  "luminance": 0.38571
}

Semantic roles & 50–950 ramp

primary
#BFA631
secondary
#818ECB
accent
#61E245
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA631

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

Preview Lab → · Contrast checker → · Palette generator →

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