#BFAB46#BFAB46

#BFAB46 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.122 H 98.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#BFAB46
RGBrgb(191, 171, 70)
HSLhsl(50, 49%, 51%)
HSVhsv(50, 63%, 75%)
CMYKcmyk(0%, 10.5%, 63.4%, 25.1%)
CIE-LABlab(69.93, -4.78, 53.12)
CIE-LCHlch(69.93, 53.33, 95.14°)
OKLaboklab(73.91% -0.0172 0.1212)
OKLCHoklch(73.91% 0.122 98.1)
XYZxyz(37.1558, 40.6461, 11.6815)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB46 #465ABF
analogous
#BF6E46 #BFAB46 #96BF46
triadic
#BFAB46 #46BFAB #AB46BF
tetradic
#BFAB46 #46BF6E #465ABF #BF4696
square
#BFAB46 #46BF6E #465ABF #BF4696
split-complementary
#BFAB46 #4696BF #6E46BF
monochromatic
#675C24 #948433 #BFAB46 #CFC073 #DED4A1

Accessibility & contrast

On white

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

On black

9.13
#BFAB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB46
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB46#FFFFFF#000000##000000
##BFAB461.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73A
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#CD9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab46;
/* rgb */ color: rgb(191, 171, 70);
/* oklch */ color: oklch(73.9% 0.122 98.1);
Tailwind
colors: {
  custom: {
    50: '#d5c37e',
    500: '#bfab46',
    950: '#000000',
  },
}
SCSS
$custom: #bfab46;
$custom-light: #d5c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab46",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 50.083,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73914,
    "c": 0.12243,
    "h": 98.1
  },
  "luminance": 0.40644
}

Semantic roles & 50–950 ramp

primary
#BFAB46
secondary
#969FCB
accent
#66D850
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAB46

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

Preview Lab → · Contrast checker → · Palette generator →

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