#BFA231#BFA231

#BFA231 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.131 H 94.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#BFA231
RGBrgb(191, 162, 49)
HSLhsl(48, 59%, 47%)
HSVhsv(48, 74%, 75%)
CMYKcmyk(0%, 15.2%, 74.3%, 25.1%)
CIE-LABlab(67.38, -1.15, 59.19)
CIE-LCHlch(67.38, 59.20, 91.12°)
OKLaboklab(71.85% -0.0093 0.1305)
OKLCHoklch(71.85% 0.131 94.1)
XYZxyz(34.9624, 37.1408, 8.2325)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA231 #314EBF
analogous
#BF5B31 #BFA231 #95BF31
triadic
#BFA231 #31BFA2 #A231BF
tetradic
#BFA231 #31BF5B #314EBF #BF3195
square
#BFA231 #31BF5B #314EBF #BF3195
split-complementary
#BFA231 #3195BF #5B31BF
monochromatic
#5E4F18 #8E7925 #BFA231 #D4BB59 #E1CF8A

Accessibility & contrast

On white

2.49
#BFA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#BFA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA231
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA231#FFFFFF#000000##000000
##BFA2311.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#CF958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa231;
/* rgb */ color: rgb(191, 162, 49);
/* oklch */ color: oklch(71.8% 0.131 94.1);
Tailwind
colors: {
  custom: {
    50: '#d6bd71',
    500: '#bfa231',
    950: '#000000',
  },
}
SCSS
$custom: #bfa231;
$custom-light: #d6bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa231",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 47.746,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71849,
    "c": 0.13078,
    "h": 94.1
  },
  "luminance": 0.37139
}

Semantic roles & 50–950 ramp

primary
#BFA231
secondary
#8190CB
accent
#65E245
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA231

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

Preview Lab → · Contrast checker → · Palette generator →

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