#BFAB37#BFAB37

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

Color values

HEX#BFAB37
RGBrgb(191, 171, 55)
HSLhsl(51, 55%, 48%)
HSVhsv(51, 71%, 75%)
CMYKcmyk(0%, 10.5%, 71.2%, 25.1%)
CIE-LABlab(69.81, -5.64, 59.27)
CIE-LCHlch(69.81, 59.54, 95.44°)
OKLaboklab(73.78% -0.0214 0.1318)
OKLCHoklch(73.78% 0.133 99.2)
XYZxyz(36.7401, 40.4798, 9.4918)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB37 #374BBF
analogous
#BF6737 #BFAB37 #8FBF37
triadic
#BFAB37 #37BFAB #AB37BF
tetradic
#BFAB37 #37BF67 #374BBF #BF378F
square
#BFAB37 #37BF67 #374BBF #BF378F
split-complementary
#BFAB37 #378FBF #6737BF
monochromatic
#60561C #8F8029 #BFAB37 #D2C162 #DFD491

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB37#FFFFFF#000000##000000
##BFAB371.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)
#BCA625
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#CE9E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab37;
/* rgb */ color: rgb(191, 171, 55);
/* oklch */ color: oklch(73.8% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d6c375',
    500: '#bfab37',
    950: '#000000',
  },
}
SCSS
$custom: #bfab37;
$custom-light: #d6c375;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab37",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 51.176,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73784,
    "c": 0.13348,
    "h": 99.2
  },
  "luminance": 0.40478
}

Semantic roles & 50–950 ramp

primary
#BFAB37
secondary
#8891CA
accent
#5FDF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAB37

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

Preview Lab → · Contrast checker → · Palette generator →

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