#BFB845#BFB845

#BFB845 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.7% C 0.135 H 105.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#BFB845
RGBrgb(191, 184, 69)
HSLhsl(57, 49%, 51%)
HSVhsv(57, 64%, 75%)
CMYKcmyk(0%, 3.7%, 63.9%, 25.1%)
CIE-LABlab(73.41, -11.62, 57.27)
CIE-LCHlch(73.41, 58.44, 101.47°)
OKLaboklab(76.68% -0.0368 0.1299)
OKLCHoklch(76.68% 0.135 105.8)
XYZxyz(39.7019, 45.7884, 12.3758)
Luminance0.4579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB845 #454CBF
analogous
#BF7B45 #BFB845 #89BF45
triadic
#BFB845 #45BFB8 #B845BF
tetradic
#BFB845 #45BF7B #454CBF #BF4589
square
#BFB845 #45BF7B #454CBF #BF4589
split-complementary
#BFB845 #4589BF #7B45BF
monochromatic
#666323 #948E33 #BFB845 #CFC973 #DEDBA0

Accessibility & contrast

On white

2.07
#BFB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#BFB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB845
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB845#FFFFFF#000000##000000
##BFB8451.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B236
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#CCACA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bfb845;
/* rgb */ color: rgb(191, 184, 69);
/* oklch */ color: oklch(76.7% 0.135 105.8);
Tailwind
colors: {
  custom: {
    50: '#d5cd7e',
    500: '#bfb845',
    950: '#000000',
  },
}
SCSS
$custom: #bfb845;
$custom-light: #d5cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb845",
  "rgb": {
    "r": 191,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 56.557,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76676,
    "c": 0.13499,
    "h": 105.8
  },
  "luminance": 0.45787
}

Semantic roles & 50–950 ramp

primary
#BFB845
secondary
#9598CB
accent
#57D84F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB845

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

Preview Lab → · Contrast checker → · Palette generator →

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