#BFB42B#BFB42B

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

Color values

HEX#BFB42B
RGBrgb(191, 180, 43)
HSLhsl(56, 63%, 46%)
HSVhsv(56, 77%, 75%)
CMYKcmyk(0%, 5.8%, 77.5%, 25.1%)
CIE-LABlab(72.16, -10.86, 65.71)
CIE-LCHlch(72.16, 66.60, 99.38°)
OKLaboklab(75.63% -0.0373 0.1432)
OKLCHoklch(75.63% 0.148 104.6)
XYZxyz(38.2449, 43.8949, 8.7431)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB42B #2B36BF
analogous
#BF6A2B #BFB42B #80BF2B
triadic
#BFB42B #2BBFB4 #B42BBF
tetradic
#BFB42B #2BBF6A #2B36BF #BF2B80
square
#BFB42B #2BBF6A #2B36BF #BF2B80
split-complementary
#BFB42B #2B80BF #6A2BBF
monochromatic
#5B5615 #8D8520 #BFB42B #D8CD50 #E3DC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFB42B#FFFFFF#000000##000000
##BFB42B1.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)
#C4AE05
Deuteranopia (green-blind)
#C8B436
Tritanopia (blue-blind)
#CEA79A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bfb42b;
/* rgb */ color: rgb(191, 180, 43);
/* oklch */ color: oklch(75.6% 0.148 104.6);
Tailwind
colors: {
  custom: {
    50: '#d6ca70',
    500: '#bfb42b',
    950: '#000000',
  },
}
SCSS
$custom: #bfb42b;
$custom-light: #d6ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb42b",
  "rgb": {
    "r": 191,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 55.541,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75627,
    "c": 0.14796,
    "h": 104.6
  },
  "luminance": 0.43893
}

Semantic roles & 50–950 ramp

primary
#BFB42B
secondary
#7A80CC
accent
#4EE642
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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