#BFAC30#BFAC30

#BFAC30 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.139 H 100.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#BFAC30
RGBrgb(191, 172, 48)
HSLhsl(52, 60%, 47%)
HSVhsv(52, 75%, 75%)
CMYKcmyk(0%, 9.9%, 74.9%, 25.1%)
CIE-LABlab(70.03, -6.50, 62.08)
CIE-LCHlch(70.03, 62.42, 95.97°)
OKLaboklab(73.95% -0.0245 0.1364)
OKLCHoklch(73.95% 0.139 100.2)
XYZxyz(36.7736, 40.7966, 8.7333)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC30 #3043BF
analogous
#BF6530 #BFAC30 #8BBF30
triadic
#BFAC30 #30BFAC #AC30BF
tetradic
#BFAC30 #30BF65 #3043BF #BF308B
square
#BFAC30 #30BF65 #3043BF #BF308B
split-complementary
#BFAC30 #308BBF #6530BF
monochromatic
#5D5417 #8E8024 #BFAC30 #D5C457 #E1D588

Accessibility & contrast

On white

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

On black

9.16
#BFAC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC30
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC30#FFFFFF#000000##000000
##BFAC301.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#CE9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac30;
/* rgb */ color: rgb(191, 172, 48);
/* oklch */ color: oklch(73.9% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#d6c472',
    500: '#bfac30',
    950: '#000000',
  },
}
SCSS
$custom: #bfac30;
$custom-light: #d6c472;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac30",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 52.028,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73947,
    "c": 0.13859,
    "h": 100.2
  },
  "luminance": 0.40795
}

Semantic roles & 50–950 ramp

primary
#BFAC30
secondary
#808ACB
accent
#5AE345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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