#BFB52E#BFB52E

#BFB52E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.9% C 0.147 H 105.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#BFB52E
RGBrgb(191, 181, 46)
HSLhsl(56, 61%, 46%)
HSVhsv(56, 76%, 75%)
CMYKcmyk(0%, 5.2%, 75.9%, 25.1%)
CIE-LABlab(72.44, -11.26, 65.01)
CIE-LCHlch(72.44, 65.98, 99.82°)
OKLaboklab(75.86% -0.0381 0.1422)
OKLCHoklch(75.86% 0.147 105)
XYZxyz(38.5045, 44.3229, 9.1112)
Luminance0.4432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB52E #2E38BF
analogous
#BF6D2E #BFB52E #81BF2E
triadic
#BFB52E #2EBFB5 #B52EBF
tetradic
#BFB52E #2EBF6D #2E38BF #BF2E81
square
#BFB52E #2EBF6D #2E38BF #BF2E81
split-complementary
#BFB52E #2E81BF #6D2EBF
monochromatic
#5C5816 #8E8622 #BFB52E #D6CD54 #E2DB86

Accessibility & contrast

On white

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

On black

9.86
#BFB52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB52E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB52E#FFFFFF#000000##000000
##BFB52E1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#CDA89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb52e;
/* rgb */ color: rgb(191, 181, 46);
/* oklch */ color: oklch(75.9% 0.147 105.0);
Tailwind
colors: {
  custom: {
    50: '#d6ca72',
    500: '#bfb52e',
    950: '#000000',
  },
}
SCSS
$custom: #bfb52e;
$custom-light: #d6ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb52e",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 55.862,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75859,
    "c": 0.14727,
    "h": 105
  },
  "luminance": 0.44321
}

Semantic roles & 50–950 ramp

primary
#BFB52E
secondary
#7E83CB
accent
#4FE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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