#BFB42D#BFB42D

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

Color values

HEX#BFB42D
RGBrgb(191, 180, 45)
HSLhsl(55, 62%, 46%)
HSVhsv(55, 76%, 75%)
CMYKcmyk(0%, 5.8%, 76.4%, 25.1%)
CIE-LABlab(72.17, -10.78, 65.08)
CIE-LCHlch(72.17, 65.97, 99.41°)
OKLaboklab(75.64% -0.0369 0.1422)
OKLCHoklch(75.64% 0.147 104.5)
XYZxyz(38.2825, 43.9099, 8.9411)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB42D #2D38BF
analogous
#BF6B2D #BFB42D #81BF2D
triadic
#BFB42D #2DBFB4 #B42DBF
tetradic
#BFB42D #2DBF6B #2D38BF #BF2D81
square
#BFB42D #2DBF6B #2D38BF #BF2D81
split-complementary
#BFB42D #2D81BF #6B2DBF
monochromatic
#5C5716 #8D8521 #BFB42D #D6CD53 #E2DB84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFB42D#FFFFFF#000000##000000
##BFB42D1.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)
#C4AE0C
Deuteranopia (green-blind)
#C8B437
Tritanopia (blue-blind)
#CEA79B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bfb42d;
/* rgb */ color: rgb(191, 180, 45);
/* oklch */ color: oklch(75.6% 0.147 104.5);
Tailwind
colors: {
  custom: {
    50: '#d6ca71',
    500: '#bfb42d',
    950: '#000000',
  },
}
SCSS
$custom: #bfb42d;
$custom-light: #d6ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb42d",
  "rgb": {
    "r": 191,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 55.479,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75638,
    "c": 0.14693,
    "h": 104.5
  },
  "luminance": 0.43908
}

Semantic roles & 50–950 ramp

primary
#BFB42D
secondary
#7C82CB
accent
#4FE543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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