#BFB82C#BFB82C

#BFB82C is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.5% C 0.151 H 106.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#BFB82C
RGBrgb(191, 184, 44)
HSLhsl(57, 63%, 46%)
HSVhsv(57, 77%, 75%)
CMYKcmyk(0%, 3.7%, 77%, 25.1%)
CIE-LABlab(73.25, -12.88, 66.39)
CIE-LCHlch(73.25, 67.62, 100.98°)
OKLaboklab(76.5% -0.0428 0.1448)
OKLCHoklch(76.5% 0.151 106.5)
XYZxyz(39.0826, 45.5406, 9.1139)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB82C #2C33BF
analogous
#BF6E2C #BFB82C #7CBF2C
triadic
#BFB82C #2CBFB8 #B82CBF
tetradic
#BFB82C #2CBF6E #2C33BF #BF2C7C
square
#BFB82C #2CBF6E #2C33BF #BF2C7C
split-complementary
#BFB82C #2C7CBF #6E2CBF
monochromatic
#5C5815 #8D8821 #BFB82C #D7D151 #E2DE83

Accessibility & contrast

On white

2.08
#BFB82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#BFB82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB82C
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB82C#FFFFFF#000000##000000
##BFB82C1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B105
Deuteranopia (green-blind)
#CBB637
Tritanopia (blue-blind)
#CDAB9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bfb82c;
/* rgb */ color: rgb(191, 184, 44);
/* oklch */ color: oklch(76.5% 0.151 106.5);
Tailwind
colors: {
  custom: {
    50: '#d6cd71',
    500: '#bfb82c',
    950: '#000000',
  },
}
SCSS
$custom: #bfb82c;
$custom-light: #d6cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb82c",
  "rgb": {
    "r": 191,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 57.143,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76496,
    "c": 0.15102,
    "h": 106.5
  },
  "luminance": 0.45539
}

Semantic roles & 50–950 ramp

primary
#BFB82C
secondary
#7B7FCC
accent
#4AE642
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB82C

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

Preview Lab → · Contrast checker → · Palette generator →

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