#BFB158#BFB158

#BFB158 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.112 H 100.5°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#BFB158
RGBrgb(191, 177, 88)
HSLhsl(52, 45%, 55%)
HSVhsv(52, 54%, 75%)
CMYKcmyk(0%, 7.3%, 53.9%, 25.1%)
CIE-LABlab(71.71, -6.60, 46.74)
CIE-LCHlch(71.71, 47.21, 98.04°)
OKLaboklab(75.38% -0.0203 0.1098)
OKLCHoklch(75.38% 0.112 100.5)
XYZxyz(38.9707, 43.2267, 15.5214)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB158 #5866BF
analogous
#BF7E58 #BFB158 #99BF58
triadic
#BFB158 #58BFB1 #B158BF
tetradic
#BFB158 #58BF7E #5866BF #BF5899
square
#BFB158 #58BF7E #5866BF #BF5899
split-complementary
#BFB158 #5899BF #7E58BF
monochromatic
#71682B #9D903C #BFB158 #D0C684 #E1DAB0

Accessibility & contrast

On white

2.18
#BFB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#BFB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB158
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB158#FFFFFF#000000##000000
##BFB1581.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC50
Deuteranopia (green-blind)
#C3B25C
Tritanopia (blue-blind)
#CCA69D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb158;
/* rgb */ color: rgb(191, 177, 88);
/* oklch */ color: oklch(75.4% 0.112 100.5);
Tailwind
colors: {
  custom: {
    50: '#d4c88a',
    500: '#bfb158',
    950: '#000000',
  },
}
SCSS
$custom: #bfb158;
$custom-light: #d4c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb158",
  "rgb": {
    "r": 191,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 51.845,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75384,
    "c": 0.11165,
    "h": 100.5
  },
  "luminance": 0.43225
}

Semantic roles & 50–950 ramp

primary
#BFB158
secondary
#A4AACF
accent
#65D454
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFB158

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

Preview Lab → · Contrast checker → · Palette generator →

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