#BFB242#BFB242

#BFB242 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.132 H 102.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#BFB242
RGBrgb(191, 178, 66)
HSLhsl(54, 49%, 50%)
HSVhsv(54, 65%, 75%)
CMYKcmyk(0%, 6.8%, 65.4%, 25.1%)
CIE-LABlab(71.77, -8.70, 56.81)
CIE-LCHlch(71.77, 57.47, 98.71°)
OKLaboklab(75.36% -0.0289 0.1284)
OKLCHoklch(75.36% 0.132 102.7)
XYZxyz(38.3912, 43.3120, 11.4910)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB242 #424FBF
analogous
#BF7342 #BFB242 #8DBF42
triadic
#BFB242 #42BFB2 #B242BF
tetradic
#BFB242 #42BF73 #424FBF #BF428D
square
#BFB242 #42BF73 #424FBF #BF428D
split-complementary
#BFB242 #428DBF #7342BF
monochromatic
#655E22 #928832 #BFB242 #CEC570 #DED79D

Accessibility & contrast

On white

2.17
#BFB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#BFB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB242
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB242#FFFFFF#000000##000000
##BFB2421.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC34
Deuteranopia (green-blind)
#C6B249
Tritanopia (blue-blind)
#CDA69B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb242;
/* rgb */ color: rgb(191, 178, 66);
/* oklch */ color: oklch(75.4% 0.132 102.7);
Tailwind
colors: {
  custom: {
    50: '#d5c87c',
    500: '#bfb242',
    950: '#000000',
  },
}
SCSS
$custom: #bfb242;
$custom-light: #d5c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb242",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 53.76,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75362,
    "c": 0.13163,
    "h": 102.7
  },
  "luminance": 0.43311
}

Semantic roles & 50–950 ramp

primary
#BFB242
secondary
#9398CA
accent
#5DD94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BFB242

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

Preview Lab → · Contrast checker → · Palette generator →

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