#BFAB38#BFAB38

#BFAB38 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#BFAB38
RGBrgb(191, 171, 56)
HSLhsl(51, 55%, 48%)
HSVhsv(51, 71%, 75%)
CMYKcmyk(0%, 10.5%, 70.7%, 25.1%)
CIE-LABlab(69.82, -5.59, 58.88)
CIE-LCHlch(69.82, 59.15, 95.43°)
OKLaboklab(73.79% -0.0211 0.1311)
OKLCHoklch(73.79% 0.133 99.2)
XYZxyz(36.7643, 40.4895, 9.6194)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB38 #384CBF
analogous
#BF6738 #BFAB38 #8FBF38
triadic
#BFAB38 #38BFAB #AB38BF
tetradic
#BFAB38 #38BF67 #384CBF #BF388F
square
#BFAB38 #38BF67 #384CBF #BF388F
split-complementary
#BFAB38 #388FBF #6738BF
monochromatic
#60561C #90812A #BFAB38 #D1C163 #DFD492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAB38#FFFFFF#000000##000000
##BFAB381.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)
#BBA627
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#CE9E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab38;
/* rgb */ color: rgb(191, 171, 56);
/* oklch */ color: oklch(73.8% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d6c376',
    500: '#bfab38',
    950: '#000000',
  },
}
SCSS
$custom: #bfab38;
$custom-light: #d6c376;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab38",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 51.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73791,
    "c": 0.13281,
    "h": 99.2
  },
  "luminance": 0.40488
}

Semantic roles & 50–950 ramp

primary
#BFAB38
secondary
#8992CA
accent
#60DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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