#BFB42F#BFB42F

#BFB42F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.6% C 0.146 H 104.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#BFB42F
RGBrgb(191, 180, 47)
HSLhsl(55, 61%, 47%)
HSVhsv(55, 75%, 75%)
CMYKcmyk(0%, 5.8%, 75.4%, 25.1%)
CIE-LABlab(72.18, -10.70, 64.43)
CIE-LCHlch(72.18, 65.32, 99.43°)
OKLaboklab(75.65% -0.0365 0.1412)
OKLCHoklch(75.65% 0.146 104.5)
XYZxyz(38.3219, 43.9257, 9.1487)
Luminance0.4392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB42F #2F3ABF
analogous
#BF6C2F #BFB42F #82BF2F
triadic
#BFB42F #2FBFB4 #B42FBF
tetradic
#BFB42F #2FBF6C #2F3ABF #BF2F82
square
#BFB42F #2FBF6C #2F3ABF #BF2F82
split-complementary
#BFB42F #2F82BF #6C2FBF
monochromatic
#5D5717 #8E8623 #BFB42F #D5CC56 #E1DB87

Accessibility & contrast

On white

2.15
#BFB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#BFB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB42F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB42F#FFFFFF#000000##000000
##BFB42F1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE12
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#CEA79B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bfb42f;
/* rgb */ color: rgb(191, 180, 47);
/* oklch */ color: oklch(75.6% 0.146 104.5);
Tailwind
colors: {
  custom: {
    50: '#d6ca72',
    500: '#bfb42f',
    950: '#000000',
  },
}
SCSS
$custom: #bfb42f;
$custom-light: #d6ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb42f",
  "rgb": {
    "r": 191,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 55.417,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7565,
    "c": 0.14585,
    "h": 104.5
  },
  "luminance": 0.43924
}

Semantic roles & 50–950 ramp

primary
#BFB42F
secondary
#7F85CB
accent
#50E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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