#BFAB3F#BFAB3F

#BFAB3F is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.8% C 0.128 H 98.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BFAB3F
RGBrgb(191, 171, 63)
HSLhsl(51, 50%, 50%)
HSVhsv(51, 67%, 75%)
CMYKcmyk(0%, 10.5%, 67%, 25.1%)
CIE-LABlab(69.87, -5.21, 56.09)
CIE-LCHlch(69.87, 56.33, 95.31°)
OKLaboklab(73.85% -0.0193 0.1264)
OKLCHoklch(73.85% 0.128 98.7)
XYZxyz(36.9476, 40.5628, 10.5849)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB3F #3F53BF
analogous
#BF6B3F #BFAB3F #93BF3F
triadic
#BFAB3F #3FBFAB #AB3FBF
tetradic
#BFAB3F #3FBF6B #3F53BF #BF3F93
square
#BFAB3F #3FBF6B #3F53BF #BF3F93
split-complementary
#BFAB3F #3F93BF #6B3FBF
monochromatic
#635921 #918230 #BFAB3F #CFBF6D #DED39B

Accessibility & contrast

On white

2.30
#BFAB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BFAB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB3F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB3F#FFFFFF#000000##000000
##BFAB3F1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#CE9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab3f;
/* rgb */ color: rgb(191, 171, 63);
/* oklch */ color: oklch(73.8% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#d6c37a',
    500: '#bfab3f',
    950: '#000000',
  },
}
SCSS
$custom: #bfab3f;
$custom-light: #d6c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab3f",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 50.625,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.12788,
    "h": 98.7
  },
  "luminance": 0.40561
}

Semantic roles & 50–950 ramp

primary
#BFAB3F
secondary
#9099CA
accent
#64DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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