#BFB338#BFB338

#BFB338 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.140 H 103.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#BFB338
RGBrgb(191, 179, 56)
HSLhsl(55, 55%, 48%)
HSVhsv(55, 71%, 75%)
CMYKcmyk(0%, 6.3%, 70.7%, 25.1%)
CIE-LABlab(71.96, -9.77, 61.01)
CIE-LCHlch(71.96, 61.79, 99.10°)
OKLaboklab(75.5% -0.033 0.1356)
OKLCHoklch(75.5% 0.14 103.7)
XYZxyz(38.3214, 43.6036, 10.1384)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB338 #3844BF
analogous
#BF6F38 #BFB338 #87BF38
triadic
#BFB338 #38BFB3 #B338BF
tetradic
#BFB338 #38BF6F #3844BF #BF3887
square
#BFB338 #38BF6F #3844BF #BF3887
split-complementary
#BFB338 #3887BF #6F38BF
monochromatic
#605A1C #90872A #BFB338 #D1C763 #DFD892

Accessibility & contrast

On white

2.16
#BFB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#BFB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB338
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB338#FFFFFF#000000##000000
##BFB3381.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#CDA79B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb338;
/* rgb */ color: rgb(191, 179, 56);
/* oklch */ color: oklch(75.5% 0.140 103.7);
Tailwind
colors: {
  custom: {
    50: '#d6c976',
    500: '#bfb338',
    950: '#000000',
  },
}
SCSS
$custom: #bfb338;
$custom-light: #d6c976;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb338",
  "rgb": {
    "r": 191,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 54.667,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75495,
    "c": 0.13957,
    "h": 103.7
  },
  "luminance": 0.43602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB338

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

Preview Lab → · Contrast checker → · Palette generator →

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