#BFB538#BFB538

#BFB538 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.141 H 104.7°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#BFB538
RGBrgb(191, 181, 56)
HSLhsl(56, 55%, 48%)
HSVhsv(56, 71%, 75%)
CMYKcmyk(0%, 5.2%, 70.7%, 25.1%)
CIE-LABlab(72.50, -10.81, 61.54)
CIE-LCHlch(72.50, 62.48, 99.96°)
OKLaboklab(75.93% -0.0359 0.1367)
OKLCHoklch(75.93% 0.141 104.7)
XYZxyz(38.7251, 44.4111, 10.2730)
Luminance0.4441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB538 #3842BF
analogous
#BF7238 #BFB538 #85BF38
triadic
#BFB538 #38BFB5 #B538BF
tetradic
#BFB538 #38BF72 #3842BF #BF3885
square
#BFB538 #38BF72 #3842BF #BF3885
split-complementary
#BFB538 #3885BF #7238BF
monochromatic
#605B1C #90882A #BFB538 #D1C963 #DFD992

Accessibility & contrast

On white

2.13
#BFB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#BFB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB538
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB538#FFFFFF#000000##000000
##BFB5381.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF24
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#CDA99C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb538;
/* rgb */ color: rgb(191, 181, 56);
/* oklch */ color: oklch(75.9% 0.141 104.7);
Tailwind
colors: {
  custom: {
    50: '#d6ca77',
    500: '#bfb538',
    950: '#000000',
  },
}
SCSS
$custom: #bfb538;
$custom-light: #d6ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb538",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 55.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75925,
    "c": 0.14138,
    "h": 104.7
  },
  "luminance": 0.4441
}

Semantic roles & 50–950 ramp

primary
#BFB538
secondary
#898ECA
accent
#55DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB538

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

Preview Lab → · Contrast checker → · Palette generator →

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