#BFB95B#BFB95B

#BFB95B is a light, moderate yellow. Relative luminance 0.465; OKLCH L 77.1% C 0.117 H 105.5°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#BFB95B
RGBrgb(191, 185, 91)
HSLhsl(56, 44%, 55%)
HSVhsv(56, 52%, 75%)
CMYKcmyk(0%, 3.1%, 52.4%, 25.1%)
CIE-LABlab(73.89, -10.51, 47.86)
CIE-LCHlch(73.89, 49.00, 102.38°)
OKLaboklab(77.13% -0.0312 0.1125)
OKLCHoklch(77.13% 0.117 105.5)
XYZxyz(40.7243, 46.5308, 16.7316)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB95B #5B61BF
analogous
#BF875B #BFB95B #93BF5B
triadic
#BFB95B #5BBFB9 #B95BBF
tetradic
#BFB95B #5BBF87 #5B61BF #BF5B93
square
#BFB95B #5BBF87 #5B61BF #BF5B93
split-complementary
#BFB95B #5B93BF #875BBF
monochromatic
#736F2D #9F993E #BFB95B #D0CC87 #E1DFB3

Accessibility & contrast

On white

2.04
#BFB95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#BFB95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB95B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB95B#FFFFFF#000000##000000
##BFB95B1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B352
Deuteranopia (green-blind)
#C9B860
Tritanopia (blue-blind)
#CBAFA4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bfb95b;
/* rgb */ color: rgb(191, 185, 91);
/* oklch */ color: oklch(77.1% 0.117 105.5);
Tailwind
colors: {
  custom: {
    50: '#d4cd8c',
    500: '#bfb95b',
    950: '#000000',
  },
}
SCSS
$custom: #bfb95b;
$custom-light: #d4cd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb95b",
  "rgb": {
    "r": 191,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 56.4,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77126,
    "c": 0.11674,
    "h": 105.5
  },
  "luminance": 0.4653
}

Semantic roles & 50–950 ramp

primary
#BFB95B
secondary
#A6A9D0
accent
#5CD454
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFB95B

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

Preview Lab → · Contrast checker → · Palette generator →

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