#BFB138#BFB138

#BFB138 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.1% C 0.138 H 102.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#BFB138
RGBrgb(191, 177, 56)
HSLhsl(54, 55%, 48%)
HSVhsv(54, 71%, 75%)
CMYKcmyk(0%, 7.3%, 70.7%, 25.1%)
CIE-LABlab(71.42, -8.73, 60.48)
CIE-LCHlch(71.42, 61.11, 98.22°)
OKLaboklab(75.07% -0.0301 0.1345)
OKLCHoklch(75.07% 0.138 102.6)
XYZxyz(37.9234, 42.8078, 10.0057)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB138 #3846BF
analogous
#BF6D38 #BFB138 #89BF38
triadic
#BFB138 #38BFB1 #B138BF
tetradic
#BFB138 #38BF6D #3846BF #BF3889
square
#BFB138 #38BF6D #3846BF #BF3889
split-complementary
#BFB138 #3889BF #6D38BF
monochromatic
#60591C #90852A #BFB138 #D1C663 #DFD792

Accessibility & contrast

On white

2.20
#BFB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#BFB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB138
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB138#FFFFFF#000000##000000
##BFB1381.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#C5B240
Tritanopia (blue-blind)
#CDA599
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bfb138;
/* rgb */ color: rgb(191, 177, 56);
/* oklch */ color: oklch(75.1% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#d6c876',
    500: '#bfb138',
    950: '#000000',
  },
}
SCSS
$custom: #bfb138;
$custom-light: #d6c876;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb138",
  "rgb": {
    "r": 191,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 53.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75067,
    "c": 0.13781,
    "h": 102.6
  },
  "luminance": 0.42806
}

Semantic roles & 50–950 ramp

primary
#BFB138
secondary
#898FCA
accent
#59DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB138

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

Preview Lab → · Contrast checker → · Palette generator →

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