#BFA431#BFA431

#BFA431 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.132 H 95.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BFA431
RGBrgb(191, 164, 49)
HSLhsl(49, 59%, 47%)
HSVhsv(49, 74%, 75%)
CMYKcmyk(0%, 14.1%, 74.3%, 25.1%)
CIE-LABlab(67.91, -2.22, 59.70)
CIE-LCHlch(67.91, 59.74, 92.13°)
OKLaboklab(72.27% -0.0123 0.1315)
OKLCHoklch(72.27% 0.132 95.3)
XYZxyz(35.3176, 37.8510, 8.3509)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA431 #314CBF
analogous
#BF5D31 #BFA431 #93BF31
triadic
#BFA431 #31BFA4 #A431BF
tetradic
#BFA431 #31BF5D #314CBF #BF3193
square
#BFA431 #31BF5D #314CBF #BF3193
split-complementary
#BFA431 #3193BF #5D31BF
monochromatic
#5E5018 #8E7A25 #BFA431 #D4BD59 #E1D08A

Accessibility & contrast

On white

2.45
#BFA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BFA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA431
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA431#FFFFFF#000000##000000
##BFA4311.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11D
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#CE978E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bfa431;
/* rgb */ color: rgb(191, 164, 49);
/* oklch */ color: oklch(72.3% 0.132 95.3);
Tailwind
colors: {
  custom: {
    50: '#d6be71',
    500: '#bfa431',
    950: '#000000',
  },
}
SCSS
$custom: #bfa431;
$custom-light: #d6be71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa431",
  "rgb": {
    "r": 191,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 48.592,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72267,
    "c": 0.1321,
    "h": 95.3
  },
  "luminance": 0.37849
}

Semantic roles & 50–950 ramp

primary
#BFA431
secondary
#818FCB
accent
#63E245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA431

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

Preview Lab → · Contrast checker → · Palette generator →

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