#BFA63F#BFA63F

#BFA63F is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.8% C 0.124 H 95.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#BFA63F
RGBrgb(191, 166, 63)
HSLhsl(48, 50%, 50%)
HSVhsv(48, 67%, 75%)
CMYKcmyk(0%, 13.1%, 67%, 25.1%)
CIE-LABlab(68.54, -2.56, 54.70)
CIE-LCHlch(68.54, 54.76, 92.68°)
OKLaboklab(72.8% -0.0117 0.1235)
OKLCHoklch(72.8% 0.124 95.4)
XYZxyz(36.0210, 38.7095, 10.2760)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA63F #3F58BF
analogous
#BF663F #BFA63F #98BF3F
triadic
#BFA63F #3FBFA6 #A63FBF
tetradic
#BFA63F #3FBF66 #3F58BF #BF3F98
square
#BFA63F #3FBF66 #3F58BF #BF3F98
split-complementary
#BFA63F #3F98BF #663FBF
monochromatic
#635621 #917E30 #BFA63F #CFBC6D #DED19B

Accessibility & contrast

On white

2.40
#BFA63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#BFA63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA63F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA63F#FFFFFF#000000##000000
##BFA63F1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A332
Deuteranopia (green-blind)
#BDAB44
Tritanopia (blue-blind)
#CE9A91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa63f;
/* rgb */ color: rgb(191, 166, 63);
/* oklch */ color: oklch(72.8% 0.124 95.4);
Tailwind
colors: {
  custom: {
    50: '#d6c079',
    500: '#bfa63f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa63f;
$custom-light: #d6c079;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa63f",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 48.281,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.12403,
    "h": 95.4
  },
  "luminance": 0.38708
}

Semantic roles & 50–950 ramp

primary
#BFA63F
secondary
#909BCA
accent
#69DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA63F

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

Preview Lab → · Contrast checker → · Palette generator →

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