#BFB438#BFB438

#BFB438 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.7% C 0.140 H 104.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#BFB438
RGBrgb(191, 180, 56)
HSLhsl(55, 55%, 48%)
HSVhsv(55, 71%, 75%)
CMYKcmyk(0%, 5.8%, 70.7%, 25.1%)
CIE-LABlab(72.23, -10.29, 61.28)
CIE-LCHlch(72.23, 62.13, 99.53°)
OKLaboklab(75.71% -0.0344 0.1362)
OKLCHoklch(75.71% 0.14 104.2)
XYZxyz(38.5225, 44.0059, 10.2054)
Luminance0.4400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB438 #3843BF
analogous
#BF7038 #BFB438 #86BF38
triadic
#BFB438 #38BFB4 #B438BF
tetradic
#BFB438 #38BF70 #3843BF #BF3886
square
#BFB438 #38BF70 #3843BF #BF3886
split-complementary
#BFB438 #3886BF #7038BF
monochromatic
#605B1C #90872A #BFB438 #D1C863 #DFD992

Accessibility & contrast

On white

2.14
#BFB438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#BFB438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB438
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB438#FFFFFF#000000##000000
##BFB4381.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE24
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#CDA89B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bfb438;
/* rgb */ color: rgb(191, 180, 56);
/* oklch */ color: oklch(75.7% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#d6ca77',
    500: '#bfb438',
    950: '#000000',
  },
}
SCSS
$custom: #bfb438;
$custom-light: #d6ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb438",
  "rgb": {
    "r": 191,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 55.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7571,
    "c": 0.14046,
    "h": 104.2
  },
  "luminance": 0.44004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB438

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

Preview Lab → · Contrast checker → · Palette generator →

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