#BFA131#BFA131

#BFA131 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.130 H 93.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#BFA131
RGBrgb(191, 161, 49)
HSLhsl(47, 59%, 47%)
HSVhsv(47, 74%, 75%)
CMYKcmyk(0%, 15.7%, 74.3%, 25.1%)
CIE-LABlab(67.12, -0.62, 58.94)
CIE-LCHlch(67.12, 58.94, 90.60°)
OKLaboklab(71.64% -0.0077 0.1299)
OKLCHoklch(71.64% 0.13 93.4)
XYZxyz(34.7870, 36.7899, 8.1740)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA131 #314FBF
analogous
#BF5A31 #BFA131 #96BF31
triadic
#BFA131 #31BFA1 #A131BF
tetradic
#BFA131 #31BF5A #314FBF #BF3196
square
#BFA131 #31BF5A #314FBF #BF3196
split-complementary
#BFA131 #3196BF #5A31BF
monochromatic
#5E4F18 #8E7825 #BFA131 #D4BA59 #E1CE8A

Accessibility & contrast

On white

2.51
#BFA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#BFA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA131
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA131#FFFFFF#000000##000000
##BFA1311.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1E
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#CF948B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa131;
/* rgb */ color: rgb(191, 161, 49);
/* oklch */ color: oklch(71.6% 0.130 93.4);
Tailwind
colors: {
  custom: {
    50: '#d6bc71',
    500: '#bfa131',
    950: '#000000',
  },
}
SCSS
$custom: #bfa131;
$custom-light: #d6bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa131",
  "rgb": {
    "r": 191,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 47.324,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71641,
    "c": 0.13015,
    "h": 93.4
  },
  "luminance": 0.36788
}

Semantic roles & 50–950 ramp

primary
#BFA131
secondary
#8191CB
accent
#67E245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BFA131

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

Preview Lab → · Contrast checker → · Palette generator →

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