#BFAB3B#BFAB3B

#BFAB3B is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.131 H 99.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#BFAB3B
RGBrgb(191, 171, 59)
HSLhsl(51, 53%, 49%)
HSVhsv(51, 69%, 75%)
CMYKcmyk(0%, 10.5%, 69.1%, 25.1%)
CIE-LABlab(69.84, -5.44, 57.71)
CIE-LCHlch(69.84, 57.96, 95.38°)
OKLaboklab(73.82% -0.0204 0.1292)
OKLCHoklch(73.82% 0.131 99)
XYZxyz(36.8399, 40.5197, 10.0174)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB3B #3B4FBF
analogous
#BF693B #BFAB3B #91BF3B
triadic
#BFAB3B #3BBFAB #AB3BBF
tetradic
#BFAB3B #3BBF69 #3B4FBF #BF3B91
square
#BFAB3B #3BBF69 #3B4FBF #BF3B91
split-complementary
#BFAB3B #3B91BF #693BBF
monochromatic
#61571E #90812D #BFAB3B #D0C067 #DFD496

Accessibility & contrast

On white

2.31
#BFAB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#BFAB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB3B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB3B#FFFFFF#000000##000000
##BFAB3B1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72B
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#CE9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab3b;
/* rgb */ color: rgb(191, 171, 59);
/* oklch */ color: oklch(73.8% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#d6c377',
    500: '#bfab3b',
    950: '#000000',
  },
}
SCSS
$custom: #bfab3b;
$custom-light: #d6c377;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab3b",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 50.909,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73815,
    "c": 0.13077,
    "h": 99
  },
  "luminance": 0.40518
}

Semantic roles & 50–950 ramp

primary
#BFAB3B
secondary
#8C95CA
accent
#61DC4C
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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