#BFAB45#BFAB45

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

Color values

HEX#BFAB45
RGBrgb(191, 171, 69)
HSLhsl(50, 49%, 51%)
HSVhsv(50, 64%, 75%)
CMYKcmyk(0%, 10.5%, 63.9%, 25.1%)
CIE-LABlab(69.92, -4.85, 53.55)
CIE-LCHlch(69.92, 53.77, 95.17°)
OKLaboklab(73.9% -0.0175 0.122)
OKLCHoklch(73.9% 0.123 98.2)
XYZxyz(37.1245, 40.6336, 11.5166)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB45 #4559BF
analogous
#BF6E45 #BFAB45 #96BF45
triadic
#BFAB45 #45BFAB #AB45BF
tetradic
#BFAB45 #45BF6E #4559BF #BF4596
square
#BFAB45 #45BF6E #4559BF #BF4596
split-complementary
#BFAB45 #4596BF #6E45BF
monochromatic
#665B23 #948433 #BFAB45 #CFC073 #DED4A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB45#FFFFFF#000000##000000
##BFAB451.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)
#BBA739
Deuteranopia (green-blind)
#C0AE4A
Tritanopia (blue-blind)
#CD9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab45;
/* rgb */ color: rgb(191, 171, 69);
/* oklch */ color: oklch(73.9% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#d5c37d',
    500: '#bfab45',
    950: '#000000',
  },
}
SCSS
$custom: #bfab45;
$custom-light: #d5c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab45",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 50.164,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73904,
    "c": 0.12324,
    "h": 98.2
  },
  "luminance": 0.40632
}

Semantic roles & 50–950 ramp

primary
#BFAB45
secondary
#959ECB
accent
#66D84F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAB45

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

Preview Lab → · Contrast checker → · Palette generator →

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