#BFBA38#BFBA38

#BFBA38 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.0% C 0.146 H 107.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#BFBA38
RGBrgb(191, 186, 56)
HSLhsl(58, 55%, 48%)
HSVhsv(58, 71%, 75%)
CMYKcmyk(0%, 2.6%, 70.7%, 25.1%)
CIE-LABlab(73.86, -13.37, 62.87)
CIE-LCHlch(73.86, 64.27, 102.01°)
OKLaboklab(77% -0.0431 0.1395)
OKLCHoklch(77% 0.146 107.2)
XYZxyz(39.7601, 46.4811, 10.6180)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFBA38 #383DBF
analogous
#BF7638 #BFBA38 #80BF38
triadic
#BFBA38 #38BFBA #BA38BF
tetradic
#BFBA38 #38BF76 #383DBF #BF3880
square
#BFBA38 #38BF76 #383DBF #BF3880
split-complementary
#BFBA38 #3880BF #7638BF
monochromatic
#605E1C #908C2A #BFBA38 #D1CD63 #DFDC92

Accessibility & contrast

On white

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

On black

10.30
#BFBA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFBA38
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFBA38#FFFFFF#000000##000000
##BFBA381.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#CCB841
Tritanopia (blue-blind)
#CDAEA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bfba38;
/* rgb */ color: rgb(191, 186, 56);
/* oklch */ color: oklch(77.0% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#d6ce77',
    500: '#bfba38',
    950: '#000000',
  },
}
SCSS
$custom: #bfba38;
$custom-light: #d6ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#bfba38",
  "rgb": {
    "r": 191,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 57.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77003,
    "c": 0.14605,
    "h": 107.2
  },
  "luminance": 0.4648
}

Semantic roles & 50–950 ramp

primary
#BFBA38
secondary
#898BCA
accent
#4FDE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFBA38

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

Preview Lab → · Contrast checker → · Palette generator →

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