#BFA92A#BFA92A

#BFA92A is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.3% C 0.140 H 98.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#BFA92A
RGBrgb(191, 169, 42)
HSLhsl(51, 64%, 46%)
HSVhsv(51, 78%, 75%)
CMYKcmyk(0%, 11.5%, 78%, 25.1%)
CIE-LABlab(69.20, -5.16, 63.35)
CIE-LCHlch(69.20, 63.56, 94.66°)
OKLaboklab(73.27% -0.0213 0.1379)
OKLCHoklch(73.27% 0.14 98.8)
XYZxyz(36.0936, 39.6213, 7.9366)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA92A #2A40BF
analogous
#BF5E2A #BFA92A #8ABF2A
triadic
#BFA92A #2ABFA9 #A92ABF
tetradic
#BFA92A #2ABF5E #2A40BF #BF2A8A
square
#BFA92A #2ABF5E #2A40BF #BF2A8A
split-complementary
#BFA92A #2A8ABF #5E2ABF
monochromatic
#5B5014 #8D7D1F #BFA92A #D8C44E #E3D580

Accessibility & contrast

On white

2.35
#BFA92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#BFA92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA92A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA92A#FFFFFF#000000##000000
##BFA92A1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA50B
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#CE9C91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bfa92a;
/* rgb */ color: rgb(191, 169, 42);
/* oklch */ color: oklch(73.3% 0.140 98.8);
Tailwind
colors: {
  custom: {
    50: '#d6c26e',
    500: '#bfa92a',
    950: '#000000',
  },
}
SCSS
$custom: #bfa92a;
$custom-light: #d6c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa92a",
  "rgb": {
    "r": 191,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 51.141,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73274,
    "c": 0.13957,
    "h": 98.8
  },
  "luminance": 0.39619
}

Semantic roles & 50–950 ramp

primary
#BFA92A
secondary
#7985CC
accent
#59E741
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA92A

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

Preview Lab → · Contrast checker → · Palette generator →

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