#BFA92F#BFA92F

#BFA92F is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.137 H 98.5°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BFA92F
RGBrgb(191, 169, 47)
HSLhsl(51, 61%, 47%)
HSVhsv(51, 75%, 75%)
CMYKcmyk(0%, 11.5%, 75.4%, 25.1%)
CIE-LABlab(69.23, -4.96, 61.67)
CIE-LCHlch(69.23, 61.87, 94.60°)
OKLaboklab(73.3% -0.0203 0.1353)
OKLCHoklch(73.3% 0.137 98.5)
XYZxyz(36.1887, 39.6594, 8.4376)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA92F #2F45BF
analogous
#BF612F #BFA92F #8DBF2F
triadic
#BFA92F #2FBFA9 #A92FBF
tetradic
#BFA92F #2FBF61 #2F45BF #BF2F8D
square
#BFA92F #2FBF61 #2F45BF #BF2F8D
split-complementary
#BFA92F #2F8DBF #612FBF
monochromatic
#5D5217 #8E7E23 #BFA92F #D5C256 #E1D487

Accessibility & contrast

On white

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

On black

8.93
#BFA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA92F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA92F#FFFFFF#000000##000000
##BFA92F1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA517
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#CE9C92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bfa92f;
/* rgb */ color: rgb(191, 169, 47);
/* oklch */ color: oklch(73.3% 0.137 98.5);
Tailwind
colors: {
  custom: {
    50: '#d6c271',
    500: '#bfa92f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa92f;
$custom-light: #d6c271;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa92f",
  "rgb": {
    "r": 191,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 50.833,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73305,
    "c": 0.13685,
    "h": 98.5
  },
  "luminance": 0.39658
}

Semantic roles & 50–950 ramp

primary
#BFA92F
secondary
#7F8ACB
accent
#5DE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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