#BFB938#BFB938

#BFB938 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.145 H 106.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#BFB938
RGBrgb(191, 185, 56)
HSLhsl(57, 55%, 48%)
HSVhsv(57, 71%, 75%)
CMYKcmyk(0%, 3.1%, 70.7%, 25.1%)
CIE-LABlab(73.59, -12.86, 62.60)
CIE-LCHlch(73.59, 63.91, 101.61°)
OKLaboklab(76.79% -0.0417 0.139)
OKLCHoklch(76.79% 0.145 106.7)
XYZxyz(39.5502, 46.0612, 10.5480)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB938 #383EBF
analogous
#BF7538 #BFB938 #81BF38
triadic
#BFB938 #38BFB9 #B938BF
tetradic
#BFB938 #38BF75 #383EBF #BF3881
square
#BFB938 #38BF75 #383EBF #BF3881
split-complementary
#BFB938 #3881BF #7538BF
monochromatic
#605D1C #908B2A #BFB938 #D1CC63 #DFDC92

Accessibility & contrast

On white

2.06
#BFB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#BFB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB938
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB938#FFFFFF#000000##000000
##BFB9381.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#CDADA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bfb938;
/* rgb */ color: rgb(191, 185, 56);
/* oklch */ color: oklch(76.8% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#d6cd77',
    500: '#bfb938',
    950: '#000000',
  },
}
SCSS
$custom: #bfb938;
$custom-light: #d6cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb938",
  "rgb": {
    "r": 191,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 57.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76787,
    "c": 0.1451,
    "h": 106.7
  },
  "luminance": 0.4606
}

Semantic roles & 50–950 ramp

primary
#BFB938
secondary
#898CCA
accent
#50DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB938

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

Preview Lab → · Contrast checker → · Palette generator →

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