#BFAC38#BFAC38

#BFAC38 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.134 H 99.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#BFAC38
RGBrgb(191, 172, 56)
HSLhsl(52, 55%, 48%)
HSVhsv(52, 71%, 75%)
CMYKcmyk(0%, 9.9%, 70.7%, 25.1%)
CIE-LABlab(70.08, -6.12, 59.15)
CIE-LCHlch(70.08, 59.47, 95.91°)
OKLaboklab(74% -0.0226 0.1317)
OKLCHoklch(74% 0.134 99.8)
XYZxyz(36.9539, 40.8687, 9.6826)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC38 #384BBF
analogous
#BF6938 #BFAC38 #8EBF38
triadic
#BFAC38 #38BFAC #AC38BF
tetradic
#BFAC38 #38BF69 #384BBF #BF388E
square
#BFAC38 #38BF69 #384BBF #BF388E
split-complementary
#BFAC38 #388EBF #6938BF
monochromatic
#60571C #90812A #BFAC38 #D1C263 #DFD492

Accessibility & contrast

On white

2.29
#BFAC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#BFAC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC38
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC38#FFFFFF#000000##000000
##BFAC381.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#C2AE3F
Tritanopia (blue-blind)
#CE9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac38;
/* rgb */ color: rgb(191, 172, 56);
/* oklch */ color: oklch(74.0% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#d6c476',
    500: '#bfac38',
    950: '#000000',
  },
}
SCSS
$custom: #bfac38;
$custom-light: #d6c476;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac38",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 51.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74003,
    "c": 0.13361,
    "h": 99.8
  },
  "luminance": 0.40867
}

Semantic roles & 50–950 ramp

primary
#BFAC38
secondary
#8992CA
accent
#5FDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAC38

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

Preview Lab → · Contrast checker → · Palette generator →

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