#BFBF42#BFBF42
#BFBF42 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.2% C 0.144 H 109.3°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BFBF42 |
|---|---|
| RGB | rgb(191, 191, 66) |
| HSL | hsl(60, 49%, 50%) |
| HSV | hsv(60, 65%, 75%) |
| CMYK | cmyk(0%, 0%, 65.4%, 25.1%) |
| CIE-LAB | lab(75.28, -15.37, 60.46) |
| CIE-LCH | lch(75.28, 62.38, 104.26°) |
| OKLab | oklab(78.16% -0.0477 0.1361) |
| OKLCH | oklch(78.16% 0.144 109.3) |
| XYZ | xyz(41.1014, 48.7325, 12.3944) |
| Luminance | 0.4873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.79
Vomit Yellow
#C7C10C
ΔE00 4.30
Bile
#B5C306
ΔE00 4.45
Baby Puke Green
#B6C406
ΔE00 4.51
Snot
#ACBB0D
ΔE00 4.56
Olive Yellow
#C2B709
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFBF42 #4242BF
analogous
#BF8042 #BFBF42 #80BF42
triadic
#BFBF42 #42BFBF #BF42BF
tetradic
#BFBF42 #42BF80 #4242BF #BF4280
square
#BFBF42 #42BF80 #4242BF #BF4280
split-complementary
#BFBF42 #4280BF #8042BF
monochromatic
#656522 #929232 #BFBF42 #CECE70 #DEDE9D
Accessibility & contrast
On white
1.95
#BFBF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.75
#BFBF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFBF42
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFBF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFBF42 | 1.00 | 1.95 | 10.75 | 10.75 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#CCB3A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bfbf42; /* rgb */ color: rgb(191, 191, 66); /* oklch */ color: oklch(78.2% 0.144 109.3);
Tailwind
colors: {
custom: {
50: '#d5d27d',
500: '#bfbf42',
950: '#000000',
},
}SCSS
$custom: #bfbf42; $custom-light: #d5d27d; $custom-dark: #000000;
JSON
{
"hex": "#bfbf42",
"rgb": {
"r": 191,
"g": 191,
"b": 66
},
"hsl": {
"h": 60,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.78164,
"c": 0.14425,
"h": 109.3
},
"luminance": 0.48731
}Semantic roles & 50–950 ramp
primary
#BFBF42
secondary
#9393CA
accent
#4FD94F
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C